- From: Mukul Gandhi <gandhi.mukul@gmail.com>
- Date: Tue, 12 Jan 2021 15:47:43 +0530
- To: Michael Kay <mike@saxonica.com>
- Cc: public-xslt-40@w3.org
Received on Tuesday, 12 January 2021 10:18:14 UTC
On Tue, Jan 12, 2021 at 2:19 PM Michael Kay <mike@saxonica.com> wrote: (a) iterating using an explicit index. This is of course possible today > using <xsl:for-each select="1 to N"> or <xsl:iterate select="1 to N">; > within the "loop" the index is available both as "." and as "position()". > Thanks, for reminding me about this. I believe, this could be used to iterate over an array as well. > Other languages have all moved in the direction of allowing iteration over > collections without explicit indexing, and it feels like the right thing to > do. > Definitely. This sound right to me as well. -- Regards, Mukul Gandhi
Received on Tuesday, 12 January 2021 10:18:14 UTC