Command line XML validator18 Dec 2008
I have always used the W3Schools On-line XML validator, but have always found it unreliable and I’ve never got it to validate against an XML schema file.
Thanks to Google I came across the following command (part of
$ xmllint --noout --schema schema.xsd file.xml
I find it amazing that all this time I had the perfect command pre-installed on my Linux desktop and I never knew.