Subject: Re: [xsl] counting loop in xslt From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 28 May 2002 10:01:11 +0100 |
> is there a possibility to implement a counting loop without using an extension in xslt?? you don't need an extension for that, You can use a recursive template, or if you just want to iterate over the integers, use <xsl:for-each select="//*[position() <= 10]"> ... then position() will go from 1 to 10 in this code. David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] counting loop in xslt, Antonio Fiol | Thread | Re: [xsl] counting loop in xslt, Mike Brown |
Re: [xsl] counting loop in xslt, Antonio Fiol | Date | Re: [xsl] counting loop in xslt, Mike Brown |
Month |