Skip to main content

XPath for DOM trees

Project description

py-dom-xpath is a pure Python implementation of XPath 1.0. It
supports almost all XPath 1.0, with the main exception being the
namespace axis. It operates on DOM 2.0 nodes, and works well with
xml.dom.minidom, but also with other xml.dom implementations.

py-dom-xpath-six is a version of py-dom-xpath that is compatible with Python
3.6 and later. It is a fork of py-dom-xpath-redux, which in turn is a fork of
the original py-dom-xpath.

Changes in 0.2.4:
- Fix compatibility issue with Python 3
- Got rid of Python 2 support
- Minor changes to update to newer standards for pypi, etc.

Changes in 0.2.3:
- Optimized sorting of nodesets in document order: do only at end of expression.

Here is the original README file:

py-dom-xpath is a pure Python implementation of XPath 1.0. It
supports almost all XPath 1.0, with the main exception being the
namespace axis. It operates on DOM 2.0 nodes, and works well with
xml.dom.minidom.

py-dom-xpath requires Python 2.5 or greater.

py-dom-xpath uses the Yapps 2 parser generator by Amit J. Patel.
Portions of of Yapps 2 are included in this distribution, to avoid
introducing external dependencies.

py-dom-xpath was developed at Nominum. Nominum has graciously
permitted the author to release it under the MIT license.

For further details, visit the project home page at:

http://code.google.com/p/py-dom-xpath/


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py-dom-xpath-six-0.2.4.tar.gz (24.8 kB view hashes)

Uploaded Source

Built Distribution

py_dom_xpath_six-0.2.4-py3-none-any.whl (28.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page