I really don't know if this is an axis question.
I think maybe some XML or JDOM user group would be able to handler this one better.


just my $0.02

stephen

Rajesh Manickadas wrote:

sending it again as plain-text.

-----Original Message-----
From: Rajesh Manickadas
Sent: Thursday, September 25, 2003 4:07 PM
To: [EMAIL PROTECTED]
Subject: Help Needed for Ignoring End of Line Elements in DOM of SOAPElem ent



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