diff --git a/docs/topics/selectors.rst b/docs/topics/selectors.rst index 231119f3b..0d82494a4 100644 --- a/docs/topics/selectors.rst +++ b/docs/topics/selectors.rst @@ -479,7 +479,7 @@ But using the ``.`` to mean the node, works:: .. _`XPath string function`: http://www.w3.org/TR/xpath/#section-String-Functions Beware of the difference between //node[1] and (//node)[1] -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``//node[1]`` selects all the nodes occurring first under their respective parents.