xml format problem

plz help me:

i have converted a document to xml string and its written to some file.
please check the attchment.

the result is coming like first image.

require result should be like second image.

tried with append and make string buts no use.How can i do that?


xml.zip (7.79 KB)

issue got resolved…used replace string.