Skip to content

Commit

Permalink
Fix README and update to release 1.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
brunato committed Jun 15, 2018
1 parent f4c4894 commit cbfcfc9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ You can install the package with *pip* in a Python 2.7 or Python 3.3+ environmen

For using it import the package and apply the selectors on ElementTree nodes:

.. doctest::

>>> import elementpath
>>> from xml.etree import ElementTree
>>> root = ElementTree.XML('<A><B1/><B2><C1/><C2/><C3/></B2></A>')
Expand All @@ -39,8 +37,6 @@ datatype's value. If you want only to iterate over results you can use the gener
The selectors API works also using XML data trees based on the `lxml.etree <http://lxml.de>`_
library:

.. doctest::

>>> import elementpath
>>> import lxml.etree as etree
>>> root = etree.XML('<A><B1/><B2><C1/><C2/><C3/></B2></A>')
Expand All @@ -52,8 +48,6 @@ When you need to apply the same XPath expression to several XML data you can als
*Selector* class, creating an instance and then using it to apply the path on distinct XML
data:

.. doctest::

>>> import elementpath
>>> import lxml.etree as etree
>>> selector = elementpath.Selector('/A/*/*')
Expand Down

0 comments on commit cbfcfc9

Please sign in to comment.