A python library to extract objects from an object tree.
Project description
Apply XPath expressions to extract objects from any Python objects.
For XML-based objects, this library defers to the standard ElementTree implementation.
For non-XML-based objects, it provides a pure-Python implementation of the XPath spec… with some “caveats”. Since Python objects are not XML objects, things like a “namespace” need to be adapted in terms of exactly what they mean.