Automatic Creation of XML file in cs3

Hi All,
Do anyone know how to create an XML file by giving the required input in cs3