XPointer: a few more comments

4.3 XPath Relative Axes

ancestor:
    "Locates element nodes ... since only elements properly have children"
        The root node is not an element node, but it too has children.

    "The last node in the list is root()."
        There is no `root' function. Change "root()" to "the root node".

preceding:
    "root() last. Ancestors are included."
        No, XPath explicitly excludes ancestors from the "preceding" axis.
        So the root node is never in this axis.
        Where you say "nodes that begin", you could add "and end".

-Michael Dyck
 jmdyck@netcom.ca

Received on Sunday, 1 August 1999 19:27:34 UTC