xsl-list
[Top] [All Lists]

Re: for-each

2003-08-01 18:35:09
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



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