[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] , only loop on half of the elements.


Subject: Re: [xsl] <xsl:for-each> , only loop on half of the elements.
From: Red Light <skydelta98@xxxxxxxxx>
Date: Mon, 26 Jul 2010 08:06:39 -0700 (PDT)

in my  xml file that i receive

i got a node:  /content/collaborator

and in another node i  got /content/collaborator too :

so when i do 
<xsl:for-each select="/content/collaborator">
    both got merged ....

late's consider i got 6 elements on the node:

position() give me like
1
2
3
1
2
3

so it got not effect here ...
any way to do like a loop (for like java/c) with out for-each?

and thanks.


Current Thread
Keywords
xml