Re: [xsl] Can't pass parameters across differing contexts?

Subject: Re: [xsl] Can't pass parameters across differing contexts?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 26 Oct 2001 15:28:55 +0100
> 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


Current Thread