我是iOS开发新手,在这一刻我已经实现了NSXMLparser,但我真的不知道如何分离具有相同名称的标签,但不同内容,如<description>。在某些feed中,这个标签只有摘要,其他的包含“img src”,我也想提取它。 (有或没有CDATA) Example of description tags wich i need to grab the images and then pass
我尝试加载属性元素。在这篇文章中有很多代码来展示我所拥有的并且清楚(希望)所有问题。 Parser.h #import <Foundation/Foundation.h>
@interface Parser : NSXMLParser
@property (nonatomic, strong) NSString *rowElementName; // this is the element