• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
John Landon
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to convert String to org.w3c.dom.Document

thanks.
 
Paul Clapham
Sheriff
Posts: 20980
31
Eclipse IDE Firefox Browser MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Rob Spoor
Sheriff
Pie
Posts: 20512
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where builder is an instance of javax.xml.parsers.DocumentBuilder.
 
Er. Ashish Aggarwal
Greenhorn
Posts: 3
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic