Re: XSLT: Children of the root node

Gunnar Teege wrote:
> 
> Dear XSL editors,
> 
> In the XSLT WD of 21 Apr 1999 section 4.1 states, that the root node
> "has a single child which is the element node for the document element
> of the document".

That's an error.

> What about other parts of the document, such as comments and processing
> instructions in the prolog? I would expect these to be separate children
> of the root node.

Right.

> Or are they completely omitted (why?).
> 
> What about the XML declaration?

There is no node for the XML declaration (in particular it is not
represented by a processing instruction node).

James

Received on Friday, 21 May 1999 03:36:03 UTC