Create xml file