wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes How to convert Node to a Document? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "How to convert Node to a Document?" Watch "How to convert Node to a Document?" New topic

How to convert Node to a Document?

Vladan Radovanovic
Ranch Hand

Joined: Mar 20, 2000
Posts: 216
I am getting a soap message and I would like to get rid of <SOAP-ENV:Envelope> and <SOAP-ENV:Body> tags and keep only the child element, which in this case is the xml document that has been passed over soap. Now I am not being able to construct a Document object out of that Node. I'd appreciate any ideas, code snippets or links that you might have.
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Would this be of any help?

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: How to convert Node to a Document?
Similar Threads
Parsing XML to make SOAP call
WSDL2Java Question
xpath does not match when namespace prefix changes
session variable
xmlns ="" is added after changing the value of an element