title: XmlPullParser getting all child values
body: <p>How can I get child xml values  ?</p>
  
  <p>I mean : If <code>xml.getName() = Section</code> give me its  Sub values. I think I must use a while loop in it but I couldnt achieve it !</p>
  
  <p>OR is it possible to get parent value ?</p>
  
  <pre><code>&lt;Top name="Top category"&gt;
  
    &lt;Section name="Sub category 1"&gt;
       &lt;Sub note="text" /&gt;
       &lt;Sub note="text" /&gt;
    &lt;/Section&gt;
  
  &lt;Section name="Sub category 2"&gt;
       &lt;Sub note="text" /&gt;
       &lt;Sub note="text" /&gt;
    &lt;/Section&gt;
  
  &lt;/Top&gt;
  </code></pre>
  
  <p>...</p>
  
  <pre><code>  while (eventType != XmlPullParser.END_DOCUMENT) {
  
   if ((eventType == XmlPullParser.START_TAG) &amp;&amp;(_xml.getName().equals("Section"))){
                      String _Section = _xml.getAttributeValue(null, "name");
  
  // take its Sub note values
  
  
     }    
  
   }
  
  }
  </code></pre>