File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes How to convert a String to Element, and add to an existing Document obj? 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 a String to Element, and add to an existing Document obj?" Watch "How to convert a String to Element, and add to an existing Document obj?" New topic
Author

How to convert a String to Element, and add to an existing Document obj?

liang gu
Ranch Hand

Joined: Nov 05, 2001
Posts: 89
I already have a Document object, and a String representation of a XML element, then what is the easist way to convert the String into an Element object and add to the Document object?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to convert a String to Element, and add to an existing Document obj?