Create XML file