开发者

XML Parser for ASIHTTPRequest

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜