Subject: RE: Can sets have order?
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 25 Jan 2001 17:54:09 -0000
|
> Isn't it a bit confusing to say that it returns it in reverse document
> order? My understanding is that ancestor:: is ordered most immediate
> first i.e direct parent, then parent of parent and so on, all
> the way up to the root.
An axis identifies an (ordered) list of nodes. The predicate associated with
the axis is applied to the ordered list. The result of an XPath expression,
however, is always a node-set, not a list. The node-set is unordered, but
the nodes have an ordering, called document order. Many operations on
node-sets process the nodes in document order. Is that clear now?
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Re: Can sets have order?, (continued)
- David Carlisle - Thu, 25 Jan 2001 10:25:18 -0500 (EST)
- Uche Ogbuji - Thu, 25 Jan 2001 11:53:15 -0500 (EST)
- David Carlisle - Thu, 25 Jan 2001 12:14:24 -0500 (EST)
- Mike Moran - Thu, 25 Jan 2001 12:22:01 -0500 (EST)
- Michael Kay - Thu, 25 Jan 2001 12:52:24 -0500 (EST) <=
- Mike Moran - Thu, 25 Jan 2001 13:23:28 -0500 (EST)
- Michael Kay - Thu, 25 Jan 2001 13:37:40 -0500 (EST)
- David Carlisle - Thu, 25 Jan 2001 12:48:25 -0500 (EST)
- Uche Ogbuji - Thu, 25 Jan 2001 13:15:01 -0500 (EST)
|
|