Command-line XML and HTML beautifier and content extractor
xq
$ xq '.' input.xml
$ xq '.root.child.text()' document.xml
$ xq -o json '.' file.xml