lxml is a Pythonic binding for the libxml2 and libxslt libraries. It is unique in that it combines the speed and feature completeness of these libraries with the simplicity of a native Python API, mostly compatible but superior to the well-known ElementTree API.
In Uche Ogbuji's latest Python and XML column he introduces libxml, a popular and well-designed low-level XML library, paying particular attention to its Python bindings.
In Uche Ogbuji's latest Python and XML column he introduces libxml, a popular and well-designed low-level XML library, paying particular attention to its Python bindings.
Getting to grips with Libxml2 and Python can be a frustrating experience, particularly as in-depth, accurate Python documentation is hard to find on the Web.