Subject: Re: [XSLT/newbie]value-of attributes of the root node
From: AndrewWatt2000@xxxxxxx
Date: Wed, 20 Sep 2000 14:12:07 EDT
|
In a message dated 20/09/00 18:35:14 GMT Daylight Time, garyp@xxxxxxxxxxxx
writes:
> AndrewWatt2000@xxxxxxx wrote:
> > Thus processing instructions and comments are children of the root node (
> aka,
> > informally, document node), contrary to your statement.
>
>
> Andrew --
>
> No. The root node and document node are two different things. See
> XPath 5.1 which clearly states "The element node for the document
> element is a child of the root node."
>
> HTH,
> Gary
Gary,
The quote you give from the XPath Recommendation doesn't actually use the
term "document node", so I fail to see how it supports or demonstrates your
point.
I have just checked the XPath Recommendation again and the term "document
node" does not occur, as far as I can tell.
See my post "Roots" of Confusion introduced at W3C for a more detailed
description of, at least part of, the basis for the confusion. I sent it just
before seeing your comment.
Andrew Watt
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|