This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
running a for loop (eg.1 to 10) using XSL
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: running a for loop (eg.1 to 10) using XSL
- From: "Krishnamurthy, Rama" <RKrishnamurthy at PRAC dot com>
- Date: Tue, 29 Aug 2000 11:40:46 -0400
- Reply-To: xsl-list at mulberrytech dot com
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