This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Loop control
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Loop control
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Tue, 7 Mar 2000 10:27:37 -0000
- Reply-To: xsl-list at mulberrytech dot com
> Is there a tried and true method of iterating a specific
> number of times?
If you don't mind extension functions, Saxon allows you to write
<xsl:for-each select="saxon:range(1,256)">
<xsl:value-of select="."/>: <xyz/>
</xsl:for-each>
But it's probably better to learn how to use recursion.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list