Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ passed to ``findnodes()`` is different in each case:
Will match every ``<movie>`` element at any level of nesting.

In both cases, the XPath expression starts with a '/' which means the search
will start at the the top of the document.
will start at the top of the document.

Inside the second script's loop are a number of calls to ``findvalue()``. This
is a handy shortcut method that is typically used when you expect the XPath
Expand Down
2 changes: 1 addition & 1 deletion source/html.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ but it will also match an element like this:
The most common way to solve the problem is to add an extra space to the
beginning and the end of the ``class`` attribute value like this: ``concat("
", @class, " ")`` and then add spaces around the classname we're looking for:
``' member '``. Giving a expression like this:
``' member '``. Giving an expression like this:

.. literalinclude:: /code/540-html-xpath-classes.pl
:language: perl
Expand Down