Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Covert DOM element to String

843834Jan 12 2006 — edited Jul 18 2008
It sounds very simple, however could not find any solution using JAXP.

What I need is that I have a DOM element, I want to convert the DOM element into String and store into the database. I used to do it using JDOM. It has a feature something like toString.

I know that serialization is another option, however, want to know how to do this way.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 15 2008
Added on Jan 12 2006
13 comments
995 views