`lxml` is my go-to for *read xml python* tasks. The XPath queries alone save so much time.
```python
from lxml import etree
root = etree.XML(xml_string)
```
Need a specific tag? `root.xpath('//tag')` and you’re done.
ET can’t compete here.
```python
from lxml import etree
root = etree.XML(xml_string)
```
Need a specific tag? `root.xpath('//tag')` and you’re done.
ET can’t compete here.
