This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Clarification on node-set definition
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Clarification on node-set definition
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Mon, 27 Nov 2000 10:19:58 -0000
- Reply-To: xsl-list at mulberrytech dot com
> The XPath spec defines a node-set as:-
>
> - an unordered collection of nodes without duplicates.
>
> "Unordered" here basically means it hasn't been sorted on any
> properties of each node in the set. Is it correct to say that it is
> returned in document/sourcetree order ?
A node-set has no intrinsic order, but many of the operations on node-sets
are defined to handle the nodes in document order: e.g. xsl:for-each and
xsl:apply-templates, and conversion to a string (which takes the
string-value of the first node in document order).
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list