set xml file type when format xml file