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]
Other format: [Raw text]

RE: Sequences: how to get them (eg in Saxon)?


The only documentation for these features thaht's currently available is the
XPath 2.0 working draft at http://www.w3.org/TR/xpath20

XPath 2.0 changes the type system. Whereas XPath 1.0 allows values of four
types (number, string, boolean, or node-set), in XPath 2.0 the value of
every expression is a sequence of items (a single item is treated as a
sequence of length one). The items in a sequence may be nodes or atomic
values, and the atomic values may be any of the simple types of XML Schema,
for example boolean, string, decimal, double, date, QName, or anyURI.
Node-sets in XPath 1.0 are replaced by node sequences; the difference is
that a node sequence may be in any order, not necessarily document order.

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com

> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of
> Richard Bondi
> Sent: 29 April 2002 19:29
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] Sequences: how to get them (eg in Saxon)?
>
>
> Where can I found out how to return "sequences" in XSLT/XPath
> 2.0, so that
> I can use the new sequence expressions? And just what is a sequence,
> anyway, compared to the old familiar node-set?
>
> The Saxon 7 documentation lists "sequences" as a new feature
> of XPath 2.0
> (see http://saxon.sourceforge.net/saxon7.0/index.html).
> Saxon 7 also lists new "sequence" expressions like
> "intersect" and "except"
> which I would very much like to use.
>
> Thanks much,
> Richard Bondi
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>


 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]