Description
Lets Python applications parse, create, transform, and query XML and HTML through libxml2 and libxslt. It is useful for web scraping, document conversion, validation, templating, and tools that need fast XML processing.
XML and HTML from untrusted sources should be parsed with care. Applications should guard against unsafe entity handling, oversized documents, and unexpected content before using parsed data.