aspose file tools*
The moose likes Beginning Java and the fly likes How to convert String to org.w3c.dom.Document Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to convert String to org.w3c.dom.Document" Watch "How to convert String to org.w3c.dom.Document" New topic
Author

How to convert String to org.w3c.dom.Document

John Landon
Ranch Hand

Joined: Sep 25, 2008
Posts: 227
How to convert String to org.w3c.dom.Document

thanks.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18991
    
    8

Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19790
    
  20

Where builder is an instance of javax.xml.parsers.DocumentBuilder.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Er. Ashish Aggarwal
Greenhorn

Joined: Jun 16, 2013
Posts: 3
To convert String to Dom/Document object


and if you have input stream that you can directly transform stram to document object


for futher transformation of string to dom and dom to String object please refer this link.
http://iandjava.blogspot.com/2013/06/java-string-to-document-and-document-to.html
 
 
subject: How to convert String to org.w3c.dom.Document