Hi
I'm trying to parse some HTML document to get two texts from tags:
"Some text to display.
image_name_to_display.jpg"
so I use this code :
HTMLDocument *document = [HTMLDocument documentWithString:self.content]; //content is html above
NSString *handAndImageStr = [document firstNodeMatchingSelector:@"hand"].textContent;
if (handAndImageStr) {
NSString *imgStr = [document firstNodeMatchingSelector:@"image"].textContent;
and then imgStr is null instead of "image_name_to_display.jpg"
I'm using HTMLReader 0.9.4