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: Clarification on node-set definition


> 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

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