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


 
> > 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


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