OP.XmlPrettifier
A small Windows .NET (3.5) console application which can be used to indent/prettify/beautify XML document or XML document fragment.
Usage
> OP.XmlPrettify
Prints out usage
> OP.XmlPrettify <inputfile>
Takes the input file and outputs the indented XML to the console output.
> OP.XmlPrettify <inputfile> <outputfile>
Takes the input file and outputs the indented XML to the output file.
Note: output file will get overwritten.
Some more information in a blog post:
http://www.o-p.hr/?p=271