-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
First of all thanks for creating this great parser that helped me a lot.
Now i know that CData means you have to ignore while parsing, but in case i need to parse it then how can i do it?
I found one method in NSXMLParserDelegate and i implemented it as below. The problem is how to place the string parsed exactly where it belongs.
-(void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock
{
NSString *someString = [[NSString alloc] initWithData:CDATABlock encoding:NSUTF8StringEncoding];
// Build the text value
[self.textInProgress appendString:someString];
NSLog(@"-------CData String %@",someString);
}
Metadata
Metadata
Assignees
Labels
No labels