Oh man, I feel your pain with xml parsing. It’s like wrestling a bag of angry cats sometimes.
My go-to is lxml in Python—super fast and way cleaner than the built-in stuff. For nested tags, I use XPath queries to drill down without losing my sanity.
If you’re stuck with legacy systems, maybe try xmlstarlet for CLI processing? It’s a lifesaver for quick fixes.
And yeah, JSON would be nicer… but legacy systems gonna legacy.
My go-to is lxml in Python—super fast and way cleaner than the built-in stuff. For nested tags, I use XPath queries to drill down without losing my sanity.
If you’re stuck with legacy systems, maybe try xmlstarlet for CLI processing? It’s a lifesaver for quick fixes.
And yeah, JSON would be nicer… but legacy systems gonna legacy.
