aspose 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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to convert a String to Element, and add to an existing Document obj?