DOKK / manpages / debian 10 / xmlindent / xmlindent.1.en
xmlindent(1) xmlindent(1)

xmlindent - XML stream reformatter

xmlindent [-o output file] [-i indent level] [-l max columns] [-n newline position] [-t] [-c] [-f] [-w] [-h] [-v]

XML Indent is a XML stream reformatter written in ANSI C. It is analogous to GNU indent.

Write indented XML to output file
Indent each level indent level spaces deeper
Wrap lines longer than max columns
Use tabs instead of spaces
Suppress newline after start-tag
Suppress newline after end-tag
Suppress newline before start-tag
Suppress newline before end-tag
Force newline on elements without children
Overwrite original file
Show version
Show command line help

Pekka Enberg <penberg@iki.fi>
Thomas Fischer <th.fischer@gmx.net> (man page)

indent(1)

0.2.17 Thomas Fischer