2011-04-15 21 views
0

我应该用什么框架从http抓取XML并解析它?如何阅读在目标C中解析XML?

+1

不能相信这个问题一个星期仍然被要求至少一次。 – 2011-04-15 10:48:07

+0

Duplicates:[1](http://stackoverflow.com/questions/2237757/cocoa-objective-c-best-practice-to-parse-xml-document)[2](http://stackoverflow.com/questions/3729514/send-and-receiving-xml-to-and-from-server-using-cocoa)[3](http://stackoverflow.com/questions/2964503/nsxmlparser-on-the-iphone-how-do -i-use-it-given-a-xml-file-newb-here)[4](http://stackoverflow.com/questions/3731453/parsing-xml-in-cocoa)[5](http:/ /stackoverflow.com/questions/3731594/)[6](http://stackoverflow.com/questions/5274513/)[...](http://stackoverflow.com/search?q=%5Bcocoa%5D+ xml + file + parse) – 2011-04-15 17:20:52

+0

[如何读取和解析iPhone上的XML文件?](http://stackoverflow.com/questions/2097631/how-to-read-in-and-parse- AN-XML的文件上最iphone) – 2011-05-03 01:42:41

回答

1

尝试touchXML:

TouchXML是可可的NSXML *类簇的轻量级替代 。 它基于通用的 开源libxml2库。

Here是一个很好的教程。

源已经移动了一下,可以发现here