Yes I already did that, when I opened the file in XMLSpy, I got a popup saying that the file has got offending characters <br />(0xA0),<squaresymbol>(0x90). XMLSpy need to do an automatic replacement of those characters, in order to open the file. <br /><br />Think I am doing something wrong during saving of the modified document into new File. What I am doing is, after the modification of the XML Document, I am converting into String and then writing the String content to the File. <br /><br />I will explore on the option of directly writing the modified Document content to the file, instead of String conversion. If this doesn't help then do I left with anyother options?<br /><br />Sivajee