Re: [Jelly] xml:forEach, core:forEach and varStatus?

2003-11-12 Thread Paul Libbrecht
On Mercredi, nove 12, 2003, at 01:13 Europe/Paris, Bill Keese wrote: I suspect you can use position() but I haven't tried it. xml:expr select=position()/ Only in super-restricted XPath expressions. Marcus, x:forEach select= needs an XPath expression which definitely not as powerful as jexl

Re: [Jelly] xml:forEach, core:forEach and varStatus?

2003-11-12 Thread Marcus Crafter
Hi All, On Wed, 2003-11-12 at 09:22, Paul Libbrecht wrote: It is easy to make the same loop with an j:for I think: x:set var=myNodes select=$elt//xyz/ j:forEach items=${myNodes} var=node /j:forEach Sure, as the context is shared, it makes sense. To get explore these kinds of

Re: [Jelly] xml:forEach, core:forEach and varStatus?

2003-11-11 Thread Bill Keese
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'