Anyone got a ready made function that will take an XML string and return a correctly indented string?
eg
A
The XML Document DOM object build into Delphi has a pretty formatting option. You just load your XML into it and save it back out, and if you have that option set then it makes it all pretty.
I'll look it up and update this answer.