XPath Query in XML using Python

python, python-3.x

Solution

http://docs.python.org/library/xml.etree.elementtree.html

etree supports XPath queries, just like lxml.

etree is included in the standard library, but lxml is faster.

Problem

Is it possible to use XPath Query in Python while processing XML. I am using minidom which doesn't support that. Is there any other module for that?

Original source