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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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
Author

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.
TIA
Lasse Koskela
author
Sheriff

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


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
 
subject: How to convert Node to a Document?