I am just beginning to play with XML. Using ADO I have retrieved a recordset and written information to an XML file.

The xml file displays well (so I guess it's well-formed) but if I open it as a text file it's just all squished together.

I am using the oXMLDOM.save method (oXMLDOM is a document30).

I expect I could write the file using output to a text file, but is this the only way to get a clean-looking document?