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

Subject: RE: [XSLT/newbie]value-of attributes of the root node
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Wed, 20 Sep 2000 13:12:33 +0100
> 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


Current Thread