title: How to parse XML file on iOS?
body: <blockquote>
    <p><strong>Possible Duplicates:</strong><br>
    <a href="https://stackoverflow.com/questions/2964503/nsxmlparser-on-ios-how-do-i-use-it-given-a-xml-file">NSXMLParser on iOS, how do I use it given a xml file</a><br>
    <a href="https://stackoverflow.com/questions/2237757/cocoa-objective-c-best-practice-to-parse-xml-document">Cocoa/Objective-C : Best Practice to parse XML Document?</a>  </p>
  </blockquote>
  
  
  
  <p>I want to parse XML file in Cocoa Application.but no parser for xml work well. Please help for parsing this file or other xml files like this. My Xml File is as Under:</p>
  
  <pre><code>  &lt;book name="Genesis"&gt;
      &lt;chapter number="1"&gt;
        &lt;verse number="1"&gt;At the first God made the heaven and the earth.&lt;/verse&gt;
        &lt;verse number="2"&gt;And the earth was waste and without form; and it was dark on the face of the deep: and the Spirit of God was moving on the face of the waters.&lt;/verse&gt;
        &lt;verse number="3"&gt;And God said, Let there be light: and there was light.&lt;/verse&gt;
      &lt;/chapter&gt;  
    &lt;/book&gt;   
   &lt;book name="Genesis"&gt;
      &lt;chapter number="1"&gt;
        &lt;verse number="1"&gt;At the first God made the heaven and the earth.&lt;/verse&gt;
        &lt;verse number="2"&gt;And the earth was waste and without form; and it was dark on the face of the deep: and the Spirit of God was moving on the face of the waters.&lt;/verse&gt;
        &lt;verse number="3"&gt;And God said, Let there be light: and there was light.&lt;/verse&gt;
      &lt;/chapter&gt;  
    &lt;/book&gt;   
  </code></pre>