-----Original Message-----
From: Martin Honnen martin(_dot_)honnen(_at_)gmx(_dot_)de [mailto:xsl-list-
service(_at_)lists(_dot_)mulberrytech(_dot_)com]
Sent: Friday, July 28, 2017 8:49 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Context in nested loop
<xsl:for-each select="/root/nodeA/nodeB">
<xsl:for-each select="@*">
<xsl:if test="name()!='name'">
<xsl:message>
<xsl:value-of
select="$document/root/nodeA/nodeB[@name=current()/../@name]/@*[l
ocal-name()=local-name(current())]"
/>
</xsl:message>
</xsl:if>
</xsl:for-each>
</xsl:for-each>
if I am not mistaken.
Brilliant, after a quick read of the docs on current(), that cleared up a lot
for me.
Thanks a lot Martin,
jlc
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--