logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

xmlindent - XML stream reformatter

Authors

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

Description

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

Name

       xmlindent - XML stream reformatter

Options

-ooutputfile
              Write indented XML to outputfile-iindentlevel
              Indent each level indentlevel spaces deeper

       -lmaxcolumns
              Wrap lines longer than maxcolumns-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

See Also

indent(1)

Thomas Fischer                                       0.2.18                                         xmlindent(1)

Syntax

       xmlindent  [-ooutputfile] [-iindentlevel] [-lmaxcolumns] [-nnewlineposition] [-t] [-c] [-f] [-w]
       [-h] [-v]

See Also