Fast XML/XSD validation on the command line Sometime you need to validate some XML fast. xmllint is your friend :-) $ xmllint --noout --schema my.xsd my.xml --noout show just the errors, if you want your XML outputted, do not use --noout References xmllint a part of LibXML. Blog