Revision: 52178
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 15, 2011 03:25 by joaobarbosa
Initial Code
<xsl:call-template name="loop"> <xsl:with-param name="cycles" select="5"/> <xsl:with-param name="Tag" >td</xsl:with-param> </xsl:call-template> <xsl:template name="loop"> <xsl:param name="cycles" /> <xsl:param name="Tag" /> <xsl:choose> <xsl:when test="number($cycles) > 0"> <xsl:element name="{$Tag}">blank</xsl:element> <xsl:call-template name="loop"> <xsl:with-param name="cycles" select="number($cycles)-1" /> <xsl:with-param name="Tag" > <xsl:value-of select="$Tag"/> </xsl:with-param> </xsl:call-template> </xsl:when> </xsl:choose> </xsl:template>
Initial URL
Initial Description
Initial Title
Loop baseado em contador
Initial Tags
Initial Language
XSLT