xsl-list
[Top] [All Lists]

[xsl] order by in XPath 2.0 expression?

2008-09-25 15:43:14
Hi,

I was just reading a document about XML databases and saw this
interesting XPath expression:

for $i in /bead order by $i/text/@lang return $i

(Source: 
http://www.oracle.com/technology/products/berkeley-db/pdf/overview-of-berkeley-database-xml.pdf)

The meaning of it seems obvious - and useful.  But I have never seen
"order by" in an XPath expression before.  I had a look online. I
don't see anything about it in http://www.w3.org/TR/xpath20/ or in
Michael Kay's XSLT 2.0 and XPath 2.0 Programmer's Reference (4th
edition).  As well, I tested using it in saxon and see that it is not
recognized...

Perhaps this is an Oracle extension...?  Has anyone seen this in an
XPath implementation before?

Thanks

Darcy

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>