Python code can be called from XPath expressions and XSLT stylesheets through the use of XPath extension functions.
lxml also offers a SAX compliant API, that works with the SAX support in the standard library.
If you are new to Element Tree, start with the lxml.etree tutorial for XML processing.
The latest installable developer sources should usually be available from the build server.
It's also possible to check out the latest development version of lxml from github directly, using a command like this (assuming you use hg and have hg-git installed): You can browse the source repository and its history through the web. The latest CHANGES of the developer version are also accessible.
Please read the Legal Notice below, at the bottom of this page. Please contact Stefan Behnel for other ways to support the lxml project, as well as commercial consulting, customisations and trainings on lxml and fast Python XML processing.
lxml.etree follows the Element Tree API as much as possible, building it on top of the native libxml2 tree.
There is a separate module lxml.objectify that implements a data-binding API on top of lxml.etree.
See the objectify and etree FAQ entry for a comparison.
Right after the lxml.etree tutorial for XML processing and the Element Tree documentation, the next place to look is the lxml.etree specific API documentation.
It describes how lxml extends the Element Tree API to expose libxml2 and libxslt specific XML functionality, such as XPath, Relax NG, XML Schema, XSLT, and c14n.
Your donation may or may not be tax-deductible; please consult your tax advisor in this matter.
We will not publish or disclose your name and/or e-mail address without your consent, unless required by applicable law.
You can show us that you like it by blogging about your experience with it and linking to the project website.