Hi Rex,
When I run the script as you had provided, I am merely getting an
output as:
100100,
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.
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.
I do not! I get only n-1 times the value. Do I count wrong?
Best, Torsten
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--