- From: Weichel Bernhard (K3/EMW4) * <Bernhard.Weichel@de.bosch.com>
- Date: Tue, 13 Jul 1999 17:29:35 +0200
- 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. then preceeding::foo[rank()=1] and (preceeding::foo)[rank()=1] have the same result. 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 Germany
Received on Tuesday, 13 July 1999 11:29:43 UTC