[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: RE: Sequences: how to get them (eg in Saxon)?
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Mon, 29 Apr 2002 20:08:05 +0100
xpath get node sequence number
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@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of
> Richard Bondi
> Sent: 29 April 2002 19:29
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.