W3C home > Mailing lists > Public > xsl-editors@w3.org > July to September 2000

RE: [XSLT/newbie]value-of attributes of the root node

From: Kay Michael <Michael.Kay@icl.com>
Date: Wed, 20 Sep 2000 13:12:33 +0100
Message-ID: <FA209FE12D83D411BC970010A8001331508025@wwmess3.bra01.icl.co.uk>
To: "'xsl-list@mulberrytech.com'" <xsl-list@mulberrytech.com>
Cc: "Xsl Editors (E-mail)" <xsl-editors@w3.org>
> Within XSLT and XPATH, what, if any, purpose does this 
> seperation of root node and document element serve?
> We know it confuses. 

The separation of concepts is essential, because the root node can have
other children besides the document element, e.g. comments and processing
instructions; in fact in a result tree fragment it can also have text nodes
and multiple element children. The unnecessary confusion is the inconsistent
terminology between the DOM, XML, and XPath specs.

Mike Kay
Received on Wednesday, 20 September 2000 08:14:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:20 UTC