[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: Uche Ogbuji <uche.ogbuji@xxxxxxxxxxxxxxx>
Date: Thu, 25 Jan 2001 10:30:40 -0700
Re:  Can sets have order?
Hmm.  I can't help thinking about it.  I think I'm about to undermine my own 
argument.

ancestor::* returns a node set with a definite order, and what I've been 
arguing as an intrinsic order.

I challenged David about XPath's lack of an "order" function if node sets did 
not have an intrinsic order.

But probably it's not so simple.  What about

ancestor::* | /parent::*

Since XPath doesn't say anything about the order of the result of a union 
expression, I guess David is probably right about node sets as well.

I could say that the fact that nothing is said about this simply means that 
the intrinsic order is maintained, but perhaps that would just be stubbornness.

Oh well.  I must admit that even while implementing them, I had never even 
vaguely thought of node sets as being unordered.



-- 
Uche Ogbuji                               Principal Consultant
uche.ogbuji@xxxxxxxxxxxxxxx               +1 303 583 9900 x 101
Fourthought, Inc.                         http://Fourthought.com 
4735 East Walnut St, Ste. C, Boulder, CO 80301-2537, USA
Software-engineering, knowledge-management, XML, CORBA, Linux, Python



 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.