W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2004

[XPath] predicates (editorial)

From: Xavier Franc <xfranc@online.fr>
Date: Sat, 17 Jan 2004 13:00:28 +0100
Message-ID: <400923DC.1010406@online.fr>
To: public-qt-comments@w3.org
A small inaccuracy in     3.2.2 Predicates

it reads:

By contrast, |(preceding::foo)[1]| returns the first |foo| element in 
document order,
 -> correct
...because the axis that applies to the |[1]| predicate is the |child| axis.
-> I dont see any child axis here
    If I am not mistaken, it should read something like "because the
   expression that applies to the |[1]| predicate is itself in document 
  (being a whole path expression, and not a simple reverse step)
Received on Saturday, 17 January 2004 07:02:08 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:16 UTC