How do I read XML data from String variable in Java?

Peter Gelderbloem

Most parsers takes an InputStream/Reader so the best way is to construct a StringReader passing the constructor the string containing the XML. You can then pass this StringReader to the parser.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.