Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 448 Bytes

README.md

File metadata and controls

11 lines (10 loc) · 448 Bytes

indenter

A SAX-based script for pretty-printing XML 1.0 documents.

Usage

indenter: XML indentation tool
indenter.py file-to-indent [options]
options:
-a new line for each attribute (default is keep inline)
-c[char] specifies indent character (default is space; tab is '\t')
-i[digit] specifies indent increment (default is 2)
-p processing instructions on new line (default is keep inline)