title: How to use NSXMLParser to parse parent-child elements that have the same name
body: <p>Does anyone have some idea how to parse the following xml using event-driven model NSXMLParser class?</p>
  
  <pre><code>&lt;Node&gt;
    &lt;name&gt; Main &lt;/name&gt;
    &lt;Node&gt;
      &lt;name&gt; Child 1 &lt;/name&gt;
    &lt;/Node&gt;
  
    &lt;Node&gt;
      &lt;name&gt; Child 2 &lt;/name&gt;
    &lt;/Node&gt;
  &lt;/Node&gt;
  </code></pre>
  
  <p>I want to collect all three names from this xml file, is it possible, or I have to change to Tree-based parsing?</p>