OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] Re: xpath: which is right?

[ Lists Home | Date Index | Thread Index ]

> itym XML::XPath is wrong then as it is the one which uses document 
> order, as opposed to libxslt which uses reversed document order.

In both XPath 1.0 and 2.0, nodes on a reverse axis are *numbered* in reverse
document order, but *delivered* in forwards document order.

Michael Kay

(slight caveat for 1.0: XPath doesn't define in what order the nodes are
delivered, but XSLT does).


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS