title: Easiest way to write and read an XML
body: <p>I'd like to know what is the easiest way to write to and parse a XML file in Android.</p>
  
  <p>My requirement is very simple. A sample file would be something like:</p>
  
  <pre><code>&lt;Item ID="1" price="$100" Qty="20" /&gt;
  </code></pre>
  
  <p>And I only want to retrieve an item by the ID and read price and Qty.</p>
  
  <p>I was referring to <a href="http://www.anddev.org/viewtopic.php?p=30363" rel="nofollow">Using XmlResourceParser to Parse Custom Compiled XML</a>, but wondering if there is a much lightweight way to do something trivial as this (still using tags).</p>