Generating xml file outputs
Writing to xml files