formatting xml files