Re: [xsl] Which patterns will select the root node?

Subject: Re: [xsl] Which patterns will select the root node?
From: Oleg Tkachenko <oleg@xxxxxxxxxxxxx>
Date: Sun, 16 Oct 2005 11:56:32 +0200
Dimitre Novatchev wrote:

node() will match it too.


But not as a match pattern!

A match pattern matches when it is evaluated from the context of the
parent of the matched node. "/" has no parent.

Oh, you are right. Besides node() is explicitly defined as not matching attributes and root node.


--
Oleg Tkachenko
http://www.xmllab.net
http://blog.tkachenko.com

Current Thread