See also the features added for lxml 1.0beta to find out more about what's
new.
- Element.getiterator() and the findall() methods support finding arbitrary
elements from a namespace (pattern {namespace}*)
- Another speedup in tree iteration code
- General speedup of Python Element object creation and deallocation
- Writing C14N no longer serializes in memory (reduced memory footprint)
- PyErrorLog for error logging through the Python logging module
- Element.getroottree() returns an ElementTree for the root node of the
document that contains the element.
- ElementTree.getpath(element) returns a simple, absolute XPath expression to
find the element in the tree structure
- Error logs have a last_error attribute for convenience
- Comment texts can be changed through the API