This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: [XSLT/newbie]value-of attributes of the root node
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: [XSLT/newbie]value-of attributes of the root node
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Wed, 20 Sep 2000 13:12:33 +0100
- Cc: "Xsl Editors (E-mail)" <xsl-editors at w3 dot org>
- Reply-To: xsl-list at mulberrytech dot com
> 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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list