NSXMLParser on the iPhone, how do i use it given a xml file (newb here :\)

Posted by Kenneth on Stack Overflow See other posts from Stack Overflow or by Kenneth
Published on 2010-06-03T09:00:46Z Indexed on 2010/06/03 9:04 UTC
Read the original article Hit count: 222

Filed under:

Hey guys, was wondering how do i use the NSXML parser. so lets say given i have a simple xml file with elements like 1/1/1000 14:15:16

How could i use the NSXMLParser to parse the XML File(Its on locally btw, desktop), check through each element and store each of them in an array either to be displayed/used later?

I was looking through some documentation about it and i absolutely have no idea on how to use the parser i know that there are 3 methods(or more ,please correct me if im wrong) that can be overridden -..etc didStartElement -..etc didEndElement -..etc foundCharacters

© Stack Overflow or respective owner

Related posts about nsxmlparser