Query and transform XML, HTML, and JSON from the command line
Tool and language to work with xml/html/json
xmq
$ xmq input.xml
$ xmq input.xml -q 'root/element'
$ xmq input.xml --output json