IOS XML解析

NSXMLParse

NSURL *url = [[NSBundle mainBundle]URLForResource:@"my" withExtension:@"xml"];

NSXMLParse *parse = [[NSXMLParse alloc] initWithContentsOfURL:url];


- (void) paese: (NSXMLParse *) parse didStartElement:(NSString *) elementName nameSpaceURI:(NSString *) nameSaceURI qualifedName:(NSString *) qualifedName

attributes:(NSDictionary *) attributeDict;