- cross-posted to:
- [email protected]
- cross-posted to:
- [email protected]
There exists a peculiar amnesia in software engineering regarding XML. Mention it in most circles and you will receive knowing smiles, dismissive waves, the sort of patronizing acknowledgment reserved for technologies deemed passé. “Oh, XML,” they say, as if the very syllables carry the weight of obsolescence. “We use JSON now. Much cleaner.”


While I understand the critic about XPath and XSL, the fact that we have proper tools to query and tranform XML instead of the messy wat of getting specific information from JSON is also one of tge strong point of XML.
XSLT and XPath are entirely underrated. They are seriously powerful tools.
While you can approximate XSLT with a heap of coffee and a JSON parser it’s harder to keep it declarative.
There is JSONPath, at least: https://en.wikipedia.org/wiki/JSONPath
Yeah, I wish I had something like XPath as consistently (in terms of availability and syntax) for JSON.