[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: <xsl:for-each> , only loop on half of the element

Subject: Re: <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)
Re:   <xsl:for-each>
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.