For python xml, I’d say:
- Simple stuff: ElementTree
- Complex: lxml
- Huge files: SAX or chunking
Namespaces? `lxml`’s `xpath()` with wildcards saves headaches.
Also, `xmltodict` is great for quick hacks.
- Simple stuff: ElementTree
- Complex: lxml
- Huge files: SAX or chunking
Namespaces? `lxml`’s `xpath()` with wildcards saves headaches.
Also, `xmltodict` is great for quick hacks.
