Is there any alternative to XML starlet
for XML processing in bash
? My typical usage is:
XPath
.Take a look at xmllint
.
To format xml:
$ xmllint --format file.xml
To evaluate an XPath:
$ xmllint --format --shell file.xml <<< "cat /some/xpath/expression"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With