Create a New XML File Using XmlDocument
This code demonstrates how to create a new XML file using XmlDocument.
http://www.devx.com/tips/Tip/21168