For debugging XPath, I use `lxml.etree.XPathEvaluator` with `verbose=True`. It’s a lifesaver.
Also, `lxml` is *way* faster than ElementTree for big files, but if you’re stuck, maybe try `untangle` for small stuff? It’s not as powerful, but super simple.
Namespaces? I just regex the hell out of the XML before parsing. Dirty, but effective.
Also, `lxml` is *way* faster than ElementTree for big files, but if you’re stuck, maybe try `untangle` for small stuff? It’s not as powerful, but super simple.
Namespaces? I just regex the hell out of the XML before parsing. Dirty, but effective.
