Skip to content

Commit f39b3b9

Browse files
Yohann76OskarStark
authored andcommitted
add link ( Xpath ) for css_selector.rst
formating imrove
1 parent e929b53 commit f39b3b9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

components/css_selector.rst

+4-2
Original file line numberDiff line numberDiff line change
@@ -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.
@@ -102,3 +102,5 @@ Learn more
102102

103103
* :doc:`/testing`
104104
* :doc:`/components/dom_crawler`
105+
106+
.. _`Xpath`: https://en.wikipedia.org/wiki/XPath

0 commit comments

Comments
 (0)