Hi All,

While creating xml it appends ("& #13;") without space
wherever there is a line separator.

// creating and writing to xml file  
   TransformerFactory transformerFactory = TransformerFactory  
     .newInstance();  
   Transformer transformer = transformerFactory.newTransformer();  
   transformer.setOutputProperty(OutputKeys.INDENT, "yes");
   transformer.setOutputProperty(OutputKeys.STANDALONE, "yes");
   transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "16");
 
   DOMSource domSource = new DOMSource(document);  
   File newfile = new File("D:\\Source\\createFile.txt");
 
   StreamResult streamResult = new StreamResult(newfile);  
 
   transformer.transform(domSource, streamResult);

Any idea????

Regards