XML parsing sucks, but jq (with the `--xml` flag) can sometimes help for quick transformations.
For speed, SAX is king. DOM is just too slow for big files.
And nested tags… I usually just refactor the XML if I can. Life’s too short.
For speed, SAX is king. DOM is just too slow for big files.
And nested tags… I usually just refactor the XML if I can. Life’s too short.
