10 ms·
XPath is cool (and I still use it for work regularly). jq JSON expressions seem to be inspired by it as well. XSLT was horrible though. A programming languag
by rwmj 4y ago
XPath is cool (and I still use it for work regularly). jq JSON expressions seem to be inspired by it as well.
XSLT was horrible though. A programming language with XML syntax, no thanks!
- int_19h 4y agoXQuery gives you 90% of XSLT with a syntax that is a superset of XPath. Verbose queries (https://en.wikipedia.org/wiki/FLWOR https://en.wikipedia.org/wiki/FLWOR) are especially nice and readable.