From 90ce4d54c5c97c20e083a304eec5b12fe24c0ff5 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 12 Aug 2014 11:23:27 +0530 Subject: [PATCH] ... --- manual/xpath.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manual/xpath.rst b/manual/xpath.rst index 20d878ea63..85cde7e0f2 100644 --- a/manual/xpath.rst +++ b/manual/xpath.rst @@ -37,7 +37,7 @@ the prefix:: children of the tag) This will match only ``

A very short ebook to demonstrate the use of XPath.

`` -in the `Sample ebook`_ but not any of the other ``

`` tags. The ``h:`` prefix +in the :ref:`sample_ebook` but not any of the other ``

`` tags. The ``h:`` prefix in the above examples is needed to match XHTML tags. This is because internally, |app| represents all content as XHTML. In XHTML tags have a *namespace*, and ``h:`` is the namespace prefix for HTML tags. @@ -84,6 +84,7 @@ to use the power of *regular expressions* via the built-in function :term:`re:te Here the ``.`` operator refers to the contents of the tag, just as the ``@`` operator referred to its attributes. +.. _sample_ebook : Sample ebook ------------