[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|