xml-tooling-c

Higher-level C++ interface for XML processing and validation.

brewmacoslinux
Try with needOr install directly
Source

About

Provides a higher level interface to XML processing

Examples

validate XML file against schema$ xmllint --schema schema.xsd document.xml
parse and extract data from XML file$ xmllint --xpath '//element/@attribute' document.xml
pretty print XML with proper formatting$ xmllint --format document.xml
check if XML is well formed$ xmllint --noout document.xml
convert XML to readable output$ xmllint --c14n document.xml