ElementTree is fine, but lxml is *way* better for complex python xml tasks.
For large files, SAX is ugly but works. Or split the XML first.
Namespaces? `lxml.etree` lets you ignore ’em with `*` in XPath.
Also, `xmlschema` lib helps if you’re validating.
For large files, SAX is ugly but works. Or split the XML first.
Namespaces? `lxml.etree` lets you ignore ’em with `*` in XPath.
Also, `xmlschema` lib helps if you’re validating.
