[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What Ordering Does XQuery Need? (was:Re: Why not reinvent thewheel?)
- From: Jonathan Robie <Jonathan.Robie@SoftwareAG-USA.com>
- To: "Thomas B. Passin" <tpassin@home.com>, xml-dev@lists.xml.org
- Date: Fri, 02 Mar 2001 09:50:33 -0500
At 12:29 AM 3/2/2001 -0500, Thomas B. Passin wrote:
>I tend to think that, if no order is specified, that each branch should remain
>in document order (where that makes any sense, at least), and that the order
>of separate branches should not be guaranteed.
I agree with you. There should be a way to indicate order is not relevant,
but XML is ordered, and this order should be preserved unless indicated
otherwise.
In the current XQuery draft, distinct() not only removes duplicates, but
also removes order. A similar function that removes order but does not
remove duplicates would be useful.
Jonathan