This article shows how to create an XML document from a Recordset using the Microsoft XMLDOM object. It explains how to create a custom function that will take the contents of a Recordset and return a much friendly-on-the-eyes XML version. Once the ASP page calls this function and has, as a string, the XML structure, it can either save it to disk or write out the contents via Response.Write.