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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 18155
    
    8

Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19556
    
  16

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to convert String to org.w3c.dom.Document
 
Similar Threads
Converting a Document type into String
Document to File
How to put clob in org.w3c.dom.Document
how to convert Byte to the String
String representation of a org.w3c.dom.Document object