Parse, query, and transform XML, HTML, and JSON from the command line.
Tool and language to work with xml/html/json
xmq$ xmq file.xml$ xmq file.json --output-format=xml$ xmq file.html --select '//div[@class="content"]'$ xmq file.xml --output-format=json$ xmq file.xml --select '/root/item[@id="123"]'