title: Parse XML with XmlPullParser
body: <p>I have a XML file like this one:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;training&gt;
      &lt;lesson name="Set_01"&gt;
          &lt;exercise&gt;
              &lt;param controller="Training01"/&gt;
              &lt;param form="Training01"/&gt;
              &lt;param table="voctrain"/&gt;
              &lt;param subset="0,62"/&gt;
              &lt;param template="clicks"/&gt;
              &lt;param description="0101_0"/&gt;
          &lt;/exercise&gt;
          &lt;exercise&gt;
              &lt;param controller="Training02"/&gt;
              &lt;param form="Training02"/&gt;
              &lt;param table="voctrain"/&gt;
              &lt;param subset="0,62"/&gt;
              &lt;param template="clicks"/&gt;
              &lt;param description="0101_1"/&gt;
              &lt;param sound="N"/&gt;
              &lt;param mode="DE"/&gt;
              &lt;param count="80"/&gt;
          &lt;/exercise&gt;
          &lt;exercise&gt;
              ...
          &lt;/exercise&gt;
          &lt;exercise&gt;
          ...
          &lt;/exercise&gt;
      &lt;/lesson&gt;
      &lt;lesson name="Set_02"&gt;
          &lt;exercise&gt;
          ...
          &lt;/exercise&gt;
          &lt;exercise&gt;
          ...
          &lt;/exercise&gt;
          &lt;exercise&gt;
          ...
          &lt;/exercise&gt;
      &lt;/lesson&gt;
  &lt;/training&gt;
  </code></pre>
  
  <p>With the XmlPullParser I can find the tags training and lesson, but for lesson I need the containing name. 
  I want to collect all exercise parameters for a named lesson i.e. "Set_01".
  Within exercise there are some parameters like param count="80". Here I also need what is within param ... />. How to obtain it?</p>