This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]