W3C home > Mailing lists > Public > www-xpath-comments@w3.org > July to September 1999

issue (node-ordering)

From: Weichel Bernhard (K3/EMW4) * <Bernhard.Weichel@de.bosch.com>
Date: Tue, 13 Jul 1999 17:29:35 +0200
Message-ID: <9FB009071AEFD111B5F80000F8FE7F830182439F@simail7.si.bosch.de>
To: "'www-xpath-comments@w3.org'" <www-xpath-comments@w3.org>
The design could be improved if there is a distinction between position
(which relates to the position in the container) and rank which relates to
the position in the result of a step.

The result of a step should be in the order as the objects appear in the
document related to the basis of the location step.

The problem comes from issue (bracket-overload) which works on the position
rather than on the rank within the result set of a step. In this case,
"preceeding" gives the left sibling first.


preceeding::foo[rank()=1] and (preceeding::foo)[rank()=1] have the same

Regards/Mit freundlichen Gruessen
Bernhard Weichel              Phone:  (49) 711 811 8322
Robert Bosch GmbH               Fax:  (49) 711 811 260073
Dept. K3/EMW4                 eMail:  bernhard.weichel@de.bosch.com
P.O. Box 30 02 40                     
D-70442 Stuttgart
Received on Tuesday, 13 July 1999 11:29:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:02:13 UTC