This commit is contained in:
Shane Evans 2013-03-17 19:34:55 +00:00
parent e630126b82
commit 5c2a82f1f7
1 changed files with 2 additions and 2 deletions

View File

@ -366,10 +366,10 @@ XmlXPathSelector examples
~~~~~~~~~~~~~~~~~~~~~~~~~
Here's a couple of :class:`XmlXPathSelector` examples to illustrate several
concepts. In both cases we assume there is already an :class:`XmlPathSelector`
concepts. In both cases we assume there is already an :class:`XmlXPathSelector`
instantiated with a :class:`~scrapy.http.Response` object like this::
x = XmlPathSelector(xml_response)
x = XmlXPathSelector(xml_response)
1. Select all ``<product>`` elements from a XML response body, returning a list of
:class:`XPathSelector` objects (ie. a :class:`XPathSelectorList` object)::