Hi, Go to site www.perfectxml.com.It contains a good code to write xml.You have to use msxml and the IXMLDOMNode objects.Initially you may face problem owing to different versions of msxml available. A few days back i created the code for creating,reading and writing xml file.First try on you own,if still you are not able to i am ready to help but with hints above you can start. Regards, Mayank