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.
精彩评论