XML command-line utilities for querying, editing, and transforming XML
XML command-line utilities
xml
$ xml sel -t -v '//title' document.xml
$ xml ed -u '//book[@id="1"]/@author' -v 'New Author' input.xml
$ xml val -e schema.xsd document.xml