PHP Classes

File: resources/examples/merkmal.xsl

Recommend this page to a friend!
  Classes of jawira  >  PHP Emoji Library Catalog  >  resources/examples/merkmal.xsl  >  Download  
File: resources/examples/merkmal.xsl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Emoji Library Catalog
Return Emoji characters using class constants
Author: By
Last change:
Date: 2 years ago
Size: 1,049 bytes


Class file image Download
<xsl:stylesheet version="1.0" xmlns:xsl="">

    <xsl:variable name="end" select="14"/>
    <xsl:variable name="increment" select="1"/>

    <xsl:template match="/">
            <xsl:for-each select="//record">
                    <xsl:variable name="start" select="1"/>
                    <xsl:call-template name="loop">
                        <xsl:with-param name="counter" select="$start"/>

    <xsl:template name="loop">
        <xsl:param name="counter"/>
        <xsl:if test="$counter &lt;= $end">
                <xsl:value-of select="Merkmale/Product/Merkmal[@ColNo=$counter]/@Farbe"/>
            <xsl:call-template name="loop">
                <xsl:with-param name="counter" select="$counter + $increment"/>

For more information send a message to info at phpclasses dot org.