I follow the guide and it gives me the following code:
InputSource inputSource = new InputSource(new FileInputStream(new File("/path/to/xml/file.xml"))));
I would like to know how I can create org.xml.sax.InputSource , but instead of reading the contents of the file, use the String variable that I already have.
java
Chiggins Nov 25 '10 at 20:49 2010-11-25 20:49
source share