News for hackers. Stuff that matters.
Re:Jq: A lightweight and flexible command-line JSON processor by gav on Sunday June 15, 2014 @09:27AM (#7895182)
Have you tried XMLStarlet[1]? It's my go-to for command line XML processing.

[1] http://xmlstar.sourceforge.net/

Re:Jq: A lightweight and flexible command-line JSON processor by unhammer on Sunday June 15, 2014 @10:01AM (#7895241)
Even with libxml's xmllint you can do some xpath stuff: http://wiki.apertium.org/wiki/Xml_grep