Subject: running a for loop (eg.1 to 10) using XSL
From: "Krishnamurthy, Rama" <RKrishnamurthy@xxxxxxxx>
Date: Tue, 29 Aug 2000 11:40:46 -0400
|
Hi all,
I'm trying to run a loop say for Eg. from 1 to 10. in XSL.
I'm using the following syntax, but it is not working.
<xsl:for-each select="$npages">
<xsl:value-of select="."/>
</xsl:for-each>
where
'npages' is a parameter in which I've stored the maximum number of times
the loop should run.
Can you tell me the correct syntax please?
Thanks.
Rama.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|