iPhone XMLParser help

后端 未结 4 936
慢半拍i
慢半拍i 2020-12-20 09:19

I am needing to parse an XML file for my app and I dont have any clue how to do it. I went through one XMLParser tutorial, and it worked fine but the XML file in the tutoria

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-20 09:57

    You might find that my blog post about wrapping NSXMLParser gives you what you need - and possibly a higher level alternative (my wrapper).

    For example, using my technique, you'd write methods like:

    -(void) handleElement_chartname: (NSDictionary*) attributes;

提交回复
热议问题