Apparently SMXMLDocument
does not conform to all of the NSXMLParser delegate functions when it parses your document. You are going to have to manually modify SMXMLDocument.m
and add the function:
- (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock
{
}
Inside that function should look very similar to the foundcharacters function, you just need to take the NSData
that you get and convert it into a string. Beware of encoding though, CData data is not always UTF8.