xmlindent man page

xmlindent — XML stream reformatter

Syntax

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

Description

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

Options

-o output file

Write indented XML to output file

-i indent level

Indent each level indent level spaces deeper

-l max columns

Wrap lines longer than max columns

-t

Use tabs instead of spaces

-nas

Suppress newline after start-tag

-nae

Suppress newline after end-tag

-nbs

Suppress newline before start-tag

-nbe

Suppress newline before end-tag

-f

Force newline on elements without children

-w

Overwrite original file

-v

Show version

-h

Show command line help

Authors

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

See Also

indent(1)

Info

0.2.17 Thomas Fischer