开发者

XML Parser for ASIHTTPRequest

开发者 https://www.devze.com 2023-03-16 10:48 出处:网络
What XML Parser Library can i use that is best for parsin开发者_运维问答g XML Response string from ASIHTTPRequest response? That is also easy to setup and can be easily understand, really need an imme

What XML Parser Library can i use that is best for parsin开发者_运维问答g XML Response string from ASIHTTPRequest response? That is also easy to setup and can be easily understand, really need an immediate result for a project

Thanks


Follow this , how to parse XML in Objective c using ASIHTTPRequest and handle all this methods

-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName attributes:(NSDictionary *)attributeDict

-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName

-(void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)string

See this link too


NSXMLParser is a Sax parser and easy to use. Look out for apple documentation on the same.

0

精彩评论

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