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

XQuery is the best of both worlds - you get almost all the benefits of XSLT like e.g. the ability to define your own functions, but with non-XML-based syntax that is a superset of XPath.

Basically the only thing it's missing in XQuery vs XSLT is template rules and their application; but IMO simple ones are just as easy to write explicitly, and complex rulesets are hard to reason about and maintain anyway.



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

Search: