How to parse xml file with schema in object c?
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.
精彩评论