tags:

views:

7

answers:

0

Hi All,

I have a dummy data i have to save it in a text file and parse it NSXmlParser How can i doit

NSBundle *bundle = [NSBundle mainBundle];
NSString *pathToFile = [bundle pathForResource:@"values" ofType:@"rtf"];

NSURL* xmlURL= [NSURL fileURLWithPath:pathToFile];
myParser = [[NSXMLParser alloc] initWithContentsOfURL:xmlURL] ;

I am getting the file paths but data is not parsing

I am doing in this way but i am not successful, Please suggest

Thank You