This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Loop control


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]