title: With SAX Parser, get an attribute's value
body: <p>I am parsing XML from the web using Android. The code below shows a sample of the XML. The problem I'm having is I can't get the string value of the item tag. When I use <code>name = attributes.getQName(i);</code> it outputs the name, not the value of the attribute. </p>
  
  <pre><code>&lt;weatherdata&gt;
   &lt;timetags&gt;
    &lt;item name="date"&gt;
     &lt;value&gt;20/04/2012&lt;/value&gt;
     &lt;unit/&gt;
     &lt;image/&gt;
     &lt;class&gt;dynamic&lt;/class&gt;
     &lt;description&gt;The current date&lt;/description&gt;
    &lt;/item&gt;
  </code></pre>