Objective C Parsing XML

前端 未结 3 1386
太阳男子
太阳男子 2020-12-18 05:23

I have an xml like this...

    


feed/http://feeds.feedburner.com/c         


        
                      
相关标签:
3条回答
  • 2020-12-18 06:00

    Best to use an objective-c parsing library.

    This article has a good run down of some of the available ones:

    http://www.raywenderlich.com/553/how-to-chose-the-best-xml-parser-for-your-iphone-project

    Also, this page has full code samples using one of the libraries:

    http://www.raywenderlich.com/725/how-to-read-and-write-xml-documents-with-gdataxml

    0 讨论(0)
  • 2020-12-18 06:10

    i use the TBXML and works perfectly

    The only problem are the accented characters, in Brazil we use a lot, now you do not exist for problems with this ...

    is permitted by Apple Store submission

    []'s

    0 讨论(0)
  • 2020-12-18 06:23

    Follow this answer.May this will help you a lot. Use XMLReader to parse xml in ios.This file efficiently will parse xml for you in to a easily manageable NSDictionary.

    XML Parsing

    0 讨论(0)
提交回复
热议问题