title: how to parse XML document?
body: <p>I have xml document in variable (not in file). How can i get data storaged in that? I don't have any additional file with that, i have it 'inside' my sourcecode. When i use </p>
  
  <pre><code>DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
  DocumentBuilder db = dbf.newDocumentBuilder();
  Document doc = db.parse(XML);
  </code></pre>
  
  <p>(XML is my xml variable), i get an error</p>
  
  <pre><code>java.io.FileNotFoundException: C:\netbeans\app-s7013\&lt;network ip_addr="10.0.0.0\8" save_ip="true"&gt; File not found.
  </code></pre>