title: XML Convert single string XML to well formatted file for editing?
body: <p>In a database, there is a string of +10000 chars that is in XML format.  The XML is not well formed and I need to fix it.  I have to convert the string (no CRLF's in it) into a file that I can edit sensibly and correct the tags.    </p>
  
  <p>I am able to extract the string to an editor, it is the conversion to multiline, indented XML that is tricky.  Any help on how to tackle that kind of task?</p>
  
  <p>Thanks in advance.</p>