code refine
code refine
change output to xml format