Subject: RE: XQuery 1.0 and XPath 2.0 Functions and Operators Version 1.0
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 7 Sep 2001 16:34:57 +0100
|
> 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
|