ElementTree

Templette uses the lxml Python library, which wraps libxml2 in a 'Pythonic' manner (in contrast with the plain Python bindings delivered with the package, they are very un-Pythonic, very C-like, including memory management and the accompanying segfaults). This lxml library provides the ElementTree API, a very simple, but flexible XML API, developped by Fredrik Lundh. See the ElementTree documentation for more information and directions.