XML & Web services: removing encoding from XML
I have org.jdom.Document and I want to remove encoding from that and want to convert it into org.w3c.dom.Document.
I am using DOMOutputter.output() method for converting from JDOM to DOM.
my main problem is removing encoding.
Please help me.
Check out the org.jdom.output.Format class, setEncoding(String encoding) method.