XML
xmllint
Validate XML document
xmllint --noout --schema x.xsd a.xml
Format XML document with custom indentation
XMLLINT_INDENT=" " xmllint --format in.xml
Format XML document with custom encoding
xmllint --encode utf8 --format in.xml
Echo string value of an element
xmllint --xpath "string(//*[local-name()='Arguments'])" task.xml