title: How do I create an org.xml.sax.InputSource from a String?
body: <p>I am following a guide, and it gives me the following code:</p>
  
  <pre><code>InputSource inputSource = new InputSource(new FileInputStream(new File("/path/to/xml/file.xml"))));
  </code></pre>
  
  <p>What I would like to know, is how I can still create an <code>org.xml.sax.InputSource</code>, but instead of reading the content of a file, use a <code>String</code> variable that I already have.</p>