Subject: Re: Accessing parent node context
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 27 Jun 2006 13:44:44 +0100
|
save the current node in a variable:
<xsl:for-each select="something"
<xsl:variable name="here" select="."/>
<xsl:for-each select="something/else"
I was <xsl:value-of select="$here"/. but now I'm <xsl:value-of
select ="."/>
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
|