There's no direct functionality, but the workaround is to use
recursion.
<xsl:call-template name="iterate">
<xsl:with-param name="iterations"
select="10">
</xsl>
<xsl:template name="iterate">
<xsl:param
name="iterations">0</xsl:param>
<xsl:if test="$iterations >
0">
<!-- do your work here
-->
<xsl:call-template
name="iterate">
<xsl:with-param name="iterations" select="$iterations -
1">
</xsl:call-template>
</xsl:if></xsl:template>
-----Original Message-----
From: Varadharajan Sethuraman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 27, 2004 9:17 AM
To: FOP-USER; xerces
Subject: iteration in xslHi All,I just want to know the iteration functionality in xsl.for example similar to the following ...for(int i=0;i<10;i++){}or how do i achieve that functionality ... is there any workaround?kindly let me know ...RegardsVaradharajan S
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
