2,加载文件
}
3.代理方法
#pragma mark -
#pragma mark xml work methods
#define head @"moods" //定义的事例节点
#define parent @"mood"
#define child_speaker
#define child_date @"time"
#define child_text
- (void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict
{
}
- (void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName
{