APIs specific to lxml.etree lxml.etree tries to follow established APIs wherever possible. Sometimes, however, the need to expose a feature in an easy way led to the invention of a new API. This page describes the major differences and a few additions to the main ElementTree API. For a complete reference of the API, see the generated API documentation. Separate pages describe the support for parsi