Mat Jones writes:
 > <xsl:template name="colorpicker">
 >    <xsl:param name="r" select="0"/>
 >    <xsl:if test="$r &lt; 8">
 >        <xsl:value-of select="$r"/>
 >    </xsl:if>
 >    <xsl:call-template name="colorpicker">
 >       <xsl:with-param name="r" select="$r+1"/>
 >    </xsl:call-template>
 > </xsl:template>

there is no escape from the recursion. you need inner call-template
inside some kind of "if" which can fail

Sebastian


Reply via email to