Re: Question regarding order in XPath

Doesn't the XPath 2.0 rec. specify the attribute and namespace axes as forward 
axes?

  http://www.w3.org/TR/xpath20/#axes

It also states that only reverse axes bind the position variable in reverse 
order:

  http://www.w3.org/TR/xpath20/#id-predicates

Cheers,
Philippe

On Friday 21 May 2004 21:17, Murali Mani wrote:
> Hi:
>
> I believe this should be mentioned somewhere in the spec; but I could not
> find it..
>
> I see that in XPath you mention that forward axes return a sequence of
> nodes in document order, and reverse axes return a sequence of nodes in
> reverse document order.
>
> My question is regarding attribute and namespace axes; they are classified
> as forward axes; so what is the result order?
>
> best, murali.

-- 
Philippe Michiels
Universiteit Antwerpen
ADReM (Advanced Database Research and Modelling)
http://www.adrem.ua.ac.be/~michiels

Received on Friday, 21 May 2004 15:30:12 UTC