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?

It gives access to items that may not be children of the document node.
Such as comments and processing instructions.

Also the xpath tree model works with trees that need not have a 
single top level document node at all (xsl variables, rtf-node set
coercions, etc)

David

Received on Wednesday, 20 September 2000 04:58:25 UTC