XMLStarlet is a command-line XML utility which allows the modification and validation of XML documents.
It is released under an MIT License.
An XML document can be validated against an XSD schema as follows:
xmlstarlet val -e -s my.xsd my.xml
One can extract element definitions or their values, selecting them with XPath notation:
xmlstarlet sel -t -v 'html/head/title' some.xml
|This Web software–related article is a stub. You can help Wikipedia by expanding it.|