Possible Duplicates:
NSXMLParser on iOS, how do I use it given a xml file
Cocoa/Objective-C : Best Practice to parse XML Document?
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:
<book name="Genesis">
<chapter number="1">
<verse number="1">At the first God made the heaven and the earth.</verse>
<verse number="2">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.</verse>
<verse number="3">And God said, Let there be light: and there was light.</verse>
</chapter>
</book>
<book name="Genesis">
<chapter number="1">
<verse number="1">At the first God made the heaven and the earth.</verse>
<verse number="2">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.</verse>
<verse number="3">And God said, Let there be light: and there was light.</verse>
</chapter>
</book>