xml-formatter
This project provides a library to (re)format your XML files. It is based on Eclipse's Ant Formatter with some modification and extra features. It is deigned to be used by revelc's formatter-maven-plugin but should be usable in other contexts.
This software is provided WITHOUT ANY WARRANTY, and is available under the Eclipse Public License, Version 2. Any code loss caused by using this plugin is not the responsibility of the author(s). Be sure to use some source repository management system such as GIT before using this library.
Contributions are welcome.