xmlindent1
Xml stream reformatter
Usage
xmlindent [-o
output
file]
[-i
indent
level]
[-l
max
columns]
[-n
newline
position]
[-t]
[-c]
[-f]
[-w]
[-h]
[-v]
Overview
XML Indent is a XML stream reformatter written in ANSI C. It is analogous to GNU indent.
Options
|
Write indented XML to output file |
|---|---|
|
Indent each level indent level spaces deeper |
|
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
Releases
10 releases since Debian 4.0 (Etch); the text changed 1 time.