title: XmlPullParser - Pull from elements with a specific parent element
body: <p>Consider this XML.  It describes a list of people and the cars they own.</p>
  
  <pre><code>&lt;People&gt;
      &lt;Person id="100"&gt;
          &lt;Name&gt;Bob&lt;/Name&gt;
          &lt;Cars&gt;
              &lt;Car&gt;
                  &lt;Make&gt;Toyota&lt;/Make&gt;
                  &lt;Model&gt;Celica&lt;/Model&gt;
              &lt;/Car&gt;
          &lt;/Cars&gt;
      &lt;/Person&gt;
      &lt;Person id="101"&gt;
          &lt;Name&gt;Jim&lt;/Name&gt;
          &lt;Cars&gt;
              &lt;Car&gt;
                  &lt;Make&gt;Ford&lt;/Make&gt;
                  &lt;Model&gt;Pinto&lt;/Model&gt;
              &lt;/Car&gt;
              &lt;Car&gt;
                  &lt;Make&gt;Dodge&lt;/Make&gt;
                  &lt;Model&gt;Viper&lt;/Model&gt;
              &lt;/Car&gt;
          &lt;/Cars&gt;
      &lt;/Person&gt;
  &lt;/People&gt;
  </code></pre>
  
  <p>I have already created a parser that will go through and grab:</p>
  
  <pre><code>ID: 100, Name: Bob
  ID: 101, Name: Jim
  </code></pre>
  
  <p>But I am struggling to break this down and grab the nested elements which are a child of a specific parent.</p>
  
  <pre><code>while (eventType != XmlPullParser.END_DOCUMENT) {
      String name = null;
      switch (eventType) {
          case XmlPullParser.START_DOCUMENT:
              // do something
              break;                      
          case XmlPullParser.START_TAG:                               
              name = parser.getName();
              if (name.equalsIgnoreCase("Cars")) {                    
  
                  // how do i restrict this to only cars under person with ID 101?
  
              } 
  </code></pre>
  
  <p>Let's say I only want to find out what kind of cars Jim has.  I know Jim's ID is 101, but how do I restrict a XmlPullParser loop to ONLY look at the <code>Cars</code> element when the parent <code>Person</code> element has an <code>id</code> of <code>101</code>?</p>