change format type plain to xml