xmltidy
Xmltidy is a simple program to tidy up xml files. It trims extra
whitespaces and cleans up indenting.
Download
Using
java -jar xmltidy.jar --input gross.xml --output nice.xml
Todo
- Automatically detect what line termination convention the input
file uses, and match with the output file.
- Replace DOM parser with SAX parser.
License
This program is distributed under the LGPL.
Ben Damm
Updated: 2005-02-07