[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XQuery 1.0 and XPath 2.0 Functions and Operators V
> > Mike Kay wrote: > > > The basic idea of having sequences in the data model rather than > > > sets is that the result of sorting a node-set can be > assigned to a > > > variable, something which isn't possible in XSLT 1.0. > There are then > > > mechanisms for > > > iterating over a sequence or indexing into it. > > > > Does that mean that the functions listed in the sequences > part is also > > viable for node-sets? > > Yes, that's the intent. The idea is that a variable which in > XPath 1.0 holds a node-set, should in XPath 2.0 hold a > sequence of nodes, the sequence being in document order with > no duplicates. 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 Ciao Chris XML/XSL Portal http://www.bayes.co.uk/xml XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|