Skip to content

Commit e2f6e7e

Browse files
committed
Merge branch '3.4' into 4.4
* 3.4: minor. refs #13307 add link ( Xpath ) for css_selector.rst
2 parents eccc31b + f117004 commit e2f6e7e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

components/css_selector.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
The CssSelector Component
66
=========================
77

8-
The CssSelector component converts CSS selectors to XPath expressions.
8+
The CssSelector component converts CSS selectors to `XPath`_ expressions.
99

1010
Installation
1111
------------
@@ -29,7 +29,7 @@ Why to Use CSS selectors?
2929
~~~~~~~~~~~~~~~~~~~~~~~~~
3030

3131
When you're parsing an HTML or an XML document, by far the most powerful
32-
method is XPath.
32+
method is `XPath`_.
3333

3434
XPath expressions are incredibly flexible, so there is almost always an
3535
XPath expression that will find the element you need. Unfortunately, they
@@ -77,7 +77,7 @@ You can use this expression with, for instance, :phpclass:`DOMXPath` or
7777
Limitations of the CssSelector Component
7878
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7979

80-
Not all CSS selectors can be converted to XPath equivalents.
80+
Not all CSS selectors can be converted to `XPath`_ equivalents.
8181

8282
There are several CSS selectors that only make sense in the context of a
8383
web-browser.
@@ -107,3 +107,5 @@ Learn more
107107

108108
* :doc:`/testing`
109109
* :doc:`/components/dom_crawler`
110+
111+
.. _`XPath`: https://en.wikipedia.org/wiki/XPath

0 commit comments

Comments
 (0)