Next in thread → Next in month →

Re: [xml-dev] XPath node-set order

From
David Carlisle <>
To
Date
2001-12-13T20:05:46Z
ID
<>
Thread
Re: [xml-dev] XPath node-set order
> But it seems clear enough
> that in order to handle further predicates acting on a node-set, that
> the order of the nodes as encountered must be preserved.


No, not in the set, you can not for example store a set of ancestors in
a variable in "ancestor axis order". The predicates refer to teh order
in the current node list (which, being a list is ordered) but that is
not a first class object, it can't be stored in a variable or returned
as a result of an expression.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
Next in thread → Next in month →