commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Keese <>
Subject Re: [Jelly] xml:forEach, core:forEach and varStatus?
Date Wed, 12 Nov 2003 00:13:30 GMT
I suspect you can use position() but I haven't tried it.

<xml:expr select="position()"/>

Marcus Crafter wrote:

>Hi All,
>Hope all is well.
>Was just wondering, one of the differences between the core:forEach tag
>and the xml:forEach tag as far as 'for-loop' functionality goes, is the
>'varStatus' attribute which is available on the core tag (but not on the
>xml tag).
>Is there any way to achieve the same functionatlity on the xml tag? ie.
>have an integer index available, into the set being iterator over? Some
>xpath wizardry perhaps?
>Thoughts/comments/etc all appreciated.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message