[Home] [By Thread] [By Date] [Recent Entries]
Hi Rex,
When I run the script as you had provided, I am merely getting an output as: you were right, this is correct: <xsl:when test="$start < $end"> <xsl:value-of select="$value"/> <xsl:text>, </xsl:text> <xsl:call-template name="recursion"> <xsl:with-param name="start"><xsl:value-of select="$start + 1"/></xsl:with-param> <xsl:with-param name="end"><xsl:value-of select="$end"/></xsl:with-param> <xsl:with-param name="value"><xsl:value-of select="$value"/></xsl:with-param> </xsl:call-template> </xsl:when> (i.e. first output the comma, then call the template. I do not! I get only n-1 times the value. Do I count wrong?However for George, I am getting the right output. I am unfamiliar with the recursive templates and so am trying to understand both of your responses. Best, Torsten
|

Cart



