title: iPhone : Parse XML file with attribute
body: <p>i want to parse the XML file. i am enable to parse simple XML file. but there are little complex XML file </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;Level&gt;
  &lt;p id='327'&gt;
     &lt;Item&gt;
        &lt;Id&gt;5877&lt;/Id&gt;
        &lt;Type&gt;0&lt;/Type&gt;
        &lt;Icon&gt;---&lt;/Icon&gt;
        &lt;Title&gt;Btn1Item1&lt;/Title&gt;
     &lt;/Item&gt;
     &lt;Item&gt;
        &lt;Id&gt;5925&lt;/Id&gt;
        &lt;Type&gt;0&lt;/Type&gt;
        &lt;Icon&gt;---&lt;/Icon&gt;
        &lt;Title&gt;Btn1Item4&lt;/Title&gt;
     &lt;/Item&gt;
  &lt;/p&gt;
  &lt;/Level&gt;
  </code></pre>
  
  <p>Here i want to get the value of <code>&lt;p&gt;</code> tag (i mean i want to get the value of attribute id which is 327)
  Please suggest</p>