XML & Web services: removing encoding from XML

  1. removing encoding from XML (1 messages)

    Hi, All
    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.

    Thank You,
    Snehal Desai
  2. removing encoding from XML[ Go to top ]

    Check out the org.jdom.output.Format class, setEncoding(String encoding) method.