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