This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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

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]
I agree. Here's the link:
subject: How to convert Node to a Document?
It's not a secret anymore!