xsl-list
[Top] [All Lists]

Re: scoping inside a select statement

2003-02-12 16:57:33
Yes, thanks :-)

simon

On Wednesday, February 12, 2003, at 06:32  PM, Wes Kubo wrote:

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)]"/>

wes

---
www.simonwoodside.com

<http://ThisURLEnablesEmailToGetThroughOverzealousSpamFilters.org>


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



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