TOOL » LINUX » PACKAGE

XmlLint

Usage

shell
xmllint OPTIONS XML_FILE
OptionDescription
--outputDefine a file path where xmllint will save the result of parsing. (Default is stdout)
--formatReformat and reindent the output.

Example

shell
xmllint --output output.xml --format input.xml