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: "Chris Bayes" <chris at bayes dot co dot uk>
- Date: Fri, 7 Sep 2001 14:20:19 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> > 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