Re: [xsl] Attribute name clashes??????????

Subject: Re: [xsl] Attribute name clashes??????????
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Tue, 19 Feb 2002 12:24:19 +0200
hnorris wrote:

<xsl:template match="Item">
<xsl:variable name="metadata" select="$GlobalMetadata/Item[@name='current context node's @name value']/>


Surprisingly "current context node" can be accessible by current() function call :)

Try
select="$GlobalMetadata/Item[@name=current()/@name]"

--
Oleg Tkachenko
Multiconn International, Israel


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



Current Thread