[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Which patterns will select the root node?
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Sun, 16 Oct 2005 20:19:56 +1000
> Oh, you are right. Besides node() is explicitly defined as not matching
> attributes and root node.

node() matches the root node, for example in the following XPath expression:

     ancestor::node()

--
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member