Bug 29225

Summary: last() and position() inside xtag forEach
Product: Taglibs Reporter: fabio sabbatini <f.sabbatini>
Component: XTags TaglibAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 1.1   
Target Milestone: ---   
Hardware: Other   
OS: other   

Description fabio sabbatini 2004-05-26 12:46:01 UTC
I'm using jasp tag <xtags:forEach> to print a list of elements like in xsl-xml
transformation, and i would obtain something like this:

element1, element2, element3,  ... elementN (without ,)

I tried to use  <xtags:valueOf select="last()"/> and <xtags:valueOf
select="position()"/> to check if i am on the last element of the loop, but
doesn't work.

Both <xtags:valueOf select="last()"/> and <xtags:valueOf select="position()"/>
return always 0.

Thanks
Comment 1 Sven Rottenbiller 2004-08-23 21:00:26 UTC

*** This bug has been marked as a duplicate of 12620 ***