Subject: Re: for-each
From: Mukul Gandhi <mukulw3@xxxxxxxxx>
Date: Fri, 1 Aug 2003 09:31:11 -0700 (PDT)
|
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.santos@xxxxxxxxxxx>
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
| Current Thread |
- for-each
- AROSO Jose Antonio - Fri, 1 Aug 2003 11:58:35 -0400 (EDT)
- Mukul Gandhi - Fri, 1 Aug 2003 12:31:47 -0400 (EDT) <=
- J.Pietschmann - Fri, 1 Aug 2003 12:42:16 -0400 (EDT)
- hemi - Fri, 1 Aug 2003 21:36:02 -0400 (EDT)
|
|