Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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!



XQuery gives you 90% of XSLT with a syntax that is a superset of XPath. Verbose queries (https://en.wikipedia.org/wiki/FLWOR) are especially nice and readable.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: