/ Published in: Objective C
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if (data) { DDXMLDocument* doc = [[DDXMLDocument alloc]initWithData:data options:0 error:&error]; if(error != nil){ NSLog(@"DDXMLDocument create failed! Error - %@", [error localizedDescription]); return; } NSLog(@"parsed: %i", [results count]); }