Subject: Re: [xsl] scoping inside a select statement|
From: S Woodside <sbwoodside@xxxxxxxxx>
Date: Wed, 12 Feb 2003 18:57:33 -0500
Is believe this is what you want, no? Function current() returns the current
node, which in a predicate is not the same as the context node.
<xsl:value-of select="document('inst.xml')//*[boolean(name() = current()/@name)]"/>