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
- Subject: Re: [XSLT/newbie]value-of attributes of the root node
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Wed, 20 Sep 2000 10:04:30 GMT
- CC: xsl-editors at w3 dot org
- References: <9B66BBD37D5DD411B8CE00508B69700F0EBAE8@pborolocal.rnib.org.uk>
- 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?
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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list