I am using the apache commons configuration XMLConfiguration to build and save an XML file. When saving there is no formatting. I get something like:
<root>
<node>
<child>
</child>
</node>
</root>
I know there are plenty of ways to use some other library to take that output and format it, but surely there must be a way to set something as simple as indention from commons configuration?