Which DOM Parser are you using? With Xerces 3.0.1 you can use
org.apache.xml.serialize.XMLSerializer class. I think I had some problems
with linefeeds being added to text nodes so I went back to using my
DOMPrinter class based on Xerces sample DOMWriter.java.
>No santhosh.What is mean is if i have a dom generated previously from an
>document.And i make changes to my dom ie i modify some of the nodes,i add
>and delete some nodes etc.Now if want to generate an XML document again
>a human readable format, from the same DOM(which is now modified) then
>programatically how it can be done?
>Nitesh S. Shetty
>[log in to unmask]