xmlindent(1)

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

-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

Releases

10 releases since Debian 4.0 (Etch); the text changed 1 time.

  1. 4.0–12
  2. 13

Authors

Pekka Enberg <[email protected]>
Thomas Fischer <[email protected]> (man page)

From xmlindent 0.2.18-0.2 in Debian 13 (Trixie). Parsed by carta from the page's man source.