cocoa异步请求 and libxml2.dylib(19)
时间:2025-02-25
时间:2025-02-25
}
return self;
}
-(void)dealloc{
[_root release],_root=nil;
[super dealloc];
}
//--------------------------------------------------------------//
#pragma mark -- libxml handler,主要是3个回调方法--
//--------------------------------------------------------------//
//解析元素开始标记时触发,在这里取元素的属性值
- (void)startElementLocalName:(const xmlChar*)localname prefix:(const xmlChar*)prefix
URI:(const xmlChar*)URI
nb_namespaces:(int)nb_namespaces
namespaces:(const xmlChar**)namespaces
nb_attributes:(int)nb_attributes
上一篇:春颂阅读及答案