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

From
Michael Kay <>
To
'Suzan Foster' <>, 'Dimitre Novatchev' <>
Date
2004-04-04T13:18:10Z
ID
<20040404131816.GAJB5004.mta08-svc.ntlworld.com@Turtle>
Thread
RE: [xml-dev] Re: xpath: which is right?
> 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).