开发者

Writing generic XML Parser

开发者 https://www.devze.com 2023-02-28 23:07 出处:网络
I want to create the generic XML p开发者_如何学Goarser so that I want to reuse much of code Use case is I have to parse 10 XML web servers, and all of them have different data So How can i create gene

I want to create the generic XML p开发者_如何学Goarser so that I want to reuse much of code Use case is I have to parse 10 XML web servers, and all of them have different data So How can i create generic XML Parser so that i use most of the parsing code


Using libxml2 for XML parsing and XPath queries in Cocoa


Use one of the many XML libraries, such as TouchXML or Google's. These will parse documents into object trees, among other things.


Use NSXmlParser I think it helps you !

0

精彩评论

暂无评论...
验证码 换一张
取 消