DESCRIPTION
The xmllint program parses one or more XML files, specified on the command line as XML-FILE (or the standard input if the filename provided is - ). It prints various types of output, depending upon the options selected. It is useful for detecting errors both in XML code and in the XML parser itself.
Mostly used options:
--format
Reformat and reindent the output. The XMLLINT_INDENT environment variable controls the indentation. The default value is two spaces " ").
--noout
Suppress output. By default, xmllint outputs the result tree.
--path "PATH(S)&
...
Read more »