开发者

How to parse xml file with schema in object c?

开发者 https://www.devze.com 2023-03-11 00:27 出处:网络
I can\'t find any library sup开发者_运维问答port parse xml file with schema in iphone sdk ? do you know any lib support this ?Please follow this link mentioned below....

I can't find any library sup开发者_运维问答port parse xml file with schema in iphone sdk ? do you know any lib support this ?


Please follow this link mentioned below....

There is ASIHTTPRequest for parsing XML in iPhone

Link1

Link2

Link3

and try yourself....


Apple has added support for SAX xml parsing.You can use built in NSXMLParser for simple xml parsing.You will get detailed insight about the delegate methods in apple documentation.

There is one more parser which is widely used,called libxml2 parser.It supports both DOM and SAX parsing and is based on open source C-APIs.This library is included in iPhone SDK and you can add it in your project easily.This is currently used in Twitter oAuth integratin on iPhone.

There are other parsers as well, you can compare performance of different parsers here.

0

精彩评论

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