This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: XQuery 1.0 and XPath 2.0 Functions and Operators Version 1.0


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]