xsl-list
[Top] [All Lists]

Re: for-each

2003-08-01 09:31:11
Hi Jose ,
If you have written the XPATH as
Key_Group_Groups/Key_Group/Key_Group_Member_Groups/Key_Group_Member/Key_Group_MemberProps
,

then inside the for-each loop, you can access
Key_Group nodes with the XPATH expression ../../..
Each .. will take you one level up from the context
node. Or if you wish, you can use a absolute XPATH
expression starting from root. You can choose
whichever way you find simpler.

Regards,
Mukul


--- AROSO Jose Antonio <jose(_dot_)santos(_at_)enabler(_dot_)com>
wrote:
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



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



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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



<Prev in Thread] Current Thread [Next in Thread>