Title: Help Needed for Ignoring End of Line Elements in DOM of SOAPElement

Hi,

I have a requirement to convert the SOAPBodyElement to
a JDOM Element to give it to another system. I am using
the getAsDOM() to get the DOM, then give this DOM to the
JDOM DOMBuilder. What happens is END OF LINE's in the SOAP
request are found as Elements in the JDOM Document, Is there
a way to ignore them anywhere between these conversions
without parsing the Document.

code:

        Element domElement = ((SOAPBodyElement)bodies.get(0)).getAsDOM();
        DOMBuilder          jdombuilder = new DOMBuilder();
        org.jdom.Element    jdomElement = jdombuilder.build(domElement);

jdomElement has the end of line's as Elements which I want
to Ignore without parsing and removing it.

Thanks
Rajesh

Reply via email to