How To Nicely Format An XML Document



TODO:

Have you have XML in a text editor such as notepad, and the formatting is non existent.  Sometimes it is nice to have it indented for use in a PDF or Word Document.  Well, after instaling a few tools, it turns out it can be done in Visual Studio quite easily.

 

SOLUTION:

Open the document in Visual Studio (I use 2010).  Hit CTRL-A, then CTRL-K, then CTRL-F

Your XML will now look nice and indented.

 

NOTES:

There are no note on this topic.