NodeTree is an XML stream parsing module for Python
Most XML libraries fit into one of two categories; they either parse XML streams with callbacks for each event encountered but leave it to the user to store and organize these events (such as expat or SAX), or they parse the entire XML document
... [More] into memory in one batch and return a handle to the document's root element only after its finished (DOM and ElementTree).
While the latter is much easier to work with, it also requires that the entire XML stream be available before any of it can be processed and must load the entire stream into memory, even when only a piece of it needs to be evaluated at a time.
With NodeTree we seek a hybrid of these two techniques with a modern, Pythonic API. [Less]
This site uses cookies to give you the best possible experience.
By using the site, you consent to our use of cookies.
For more information, please see our
Privacy Policy