Create InputStream from String
<p>I'm following this 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 have the <code>InputSource inputSource</code>, but instead of grabbing it from a file, to grab it from a <code>String</code> variable that I already have.</p>

<p>Thanks!</p>
