This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XQuery 1.0 and XPath 2.0 Functions and Operators Version 1.0
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] XQuery 1.0 and XPath 2.0 Functions and Operators Version 1.0
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Fri, 7 Sep 2001 16:34:57 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> But what happens when you concatenate 2 sorted sequences together that
> overlap?
> Say A C E , D B. You would get A C E D B right? Not A B C D E
Yes. Sorting creates a new sequence; the new sequence doesn't have any
memory of how it came to be sorted that way.
To put it another way
concat ( sort(B C A), sort(E D) ) != sort( concat( (B C A), (E D) )
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list