reformat xml files