Subject: Re: Pattern "node()" and document nodes
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Thu, 25 Feb 2010 18:50:43 +0000 (GMT)
|
David Carlisle wrote:
> the xpath expression node() doesn't select document
nodes. in
> both cases they are abbreviations of child::node() and document
>
nodes are never children.
So that's why the spec defines the case of
document-node() as a
special case (re the axis used). That's what I was
afraid of.
Thanks for the explanation!
Regards,
--
Florent Georges
http://www.fgeorges.org/
|