[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Can sets have order?

Subject: RE: Can sets have order?
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 25 Jan 2001 18:38:23 -0000
RE:  Can sets have order?
> Well, no. Two sections confuse me:
>
> 1: "An axis identifies an (ordered) list of nodes. The predicate
> associated with the axis is applied to the ordered list."
>
> I would have thought that the following would make more sense, because
> it seems wierd to throw away an ordering that is never seen:
>
> "An axis identifies an (ordered) list of nodes. The predicate
> associated with the axis is applied to the *unordered set*."

I'm not arguing about what "makes sense", I'm telling you what the XPath
spec says.

>
> "The node-set is unordered, but
>  the nodes have an ordering, called document order."
>
> It is confusing to say that node-sets are unordered, whilst nodes are.

I find it reasonable. If I have two sets {4, 6, 7} and {5, 6, 4} then 4<6 is
a property of the numbers 4 and 6, not a property of the set they happen to
be part of today.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.