macOS / binaries /

xmllint

/usr/bin/xmllint
Command line xml tool

The xmllint program parses one or more XML files, specified on the command line as XML-FILE.

source: man