Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating StreamSource or DOMSource from a java.io.String object  RSS feed

 
John Fairbairn
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How can I create a StreamSource or DOMSource object from a java.io.String object?
I have a java.io.String object which contains a well-formed XML string. I'd like to create a StreamSource or DOMSource object using the String object.
Thanks,
John Fairbairn
 
John Fairbairn
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks... found a previous thread which answers my question.
http://www.coderanch.com/t/124378/XML/XML-file-as-String
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!