For small files, `ElementTree` is perfect.
But if you’re doing a lot of parsing, `lxml`’s performance is worth the setup.
Don’t forget to handle exceptions—malformed XML will crash your script otherwise.
But if you’re doing a lot of parsing, `lxml`’s performance is worth the setup.
Don’t forget to handle exceptions—malformed XML will crash your script otherwise.
