title: Parsing XML file stored in internal storage using DOM parser in android.
body: <p>I have created an xml file in the device's internal storage as described on the android developers website. I now want to parse the file using DOM parser. What do i need to do to make the DOM parser read my XML file??
  Here's a snippet:</p>
  
  <pre><code>    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
      DocumentBuilder db = dbf.newDocumentBuilder();
      Document dom = db.parse(new InputSource(new StringReader(data)));
      dom.getDocumentElement().normalize(); 
  </code></pre>
  
  <p>What do i need to put in the place of "data" in:</p>
  
  <pre><code>    Document dom = db.parse(new InputSource(new StringReader(data)));
  </code></pre>
  
  <p>I know it's silly but any help would be appreciated.</p>