2011-04-15 68 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