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

Re: for-each

Subject: Re: for-each
From: "hemi" <hemi@xxxxxxxxxxxxx>
Date: Sat, 02 Aug 2003 01:35:09 GMT
 Re: for-each
AROSO Jose Antonio writes:

Hi...

How can i in for-each loop to access a high node in the tree.

For example:

<xsl:for-each
select="Key_Group_Groups/Key_Group/Key_Group_Member_Groups/Key_Group_Member/
Key_Group_MemberProps">


How can i access to the node for example Key_Group?

Best regards

Jose



Hi Jose,

I would use this:
<xsl:for-each select="Key_Group_Groups/Key_Group/Key_Group_Member_Groups/Key_Group_Member/
Key_Group_MemberProps">


**then inside this for-each you can reference Key_Group like this:

<xsl:for-each select="//Key_Group_Groups/Key_Group">
.......
</xsl:for-each>


**then close your first for-each
</xsl:for-each>


hope this helps

Hemi
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


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.