xsl-list
[Top] [All Lists]

Re: Which patterns will select the root node?

2005-10-16 03:19:56
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.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--