You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Mariusz Sieraczkiewicz <ma...@o2.pl> on 2003/10/24 13:23:59 UTC

jpath and position() problem

A piece of code

         <jpath:for-each select="tst/v[position() &gt; 3]">
             <p> <jpath:value-of select="position()" /><jpath:value-of 
select="." /> </p>
         </jpath:for-each>

tst/v[position() &gt; 3] works properly

but

<jpath:value-of select="position()" /> is always 0. Why?

Regards
-- 
Używam M2 - innowacyjnego klienta poczty wbudowanego w Operę: 
http://www.opera.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org