This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Can't pass parameters across differing contexts?
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Can't pass parameters across differing contexts?
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Fri, 26 Oct 2001 15:28:55 +0100
- References: <601F6322AD71D5118D6C00034725152902279792@sjmemexc1.stjude.org>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> Ahh, that almost makes sense. The only reason I'm not completely convinced
> is since the root node in the referenced document is in fact the one named
> "options" in the original example?
No it isn't root nodes don't have a name (name() returns "") and they
can only be accessed by the path / (or similar things like
ancestor::node()[last()] Root nodes are _not_ the top level element
node in the document.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list