On my iOS app I am trying to find out if a node exists or not in the XML data. I am trying to use
+ (GDataXMLElement *)elementWithName:(NSString *)name
expecting it will return a nil if the node is not present but it does not seem to work.
One option is to convert the XML string into a dictionary and search for the key. But is there a way to skip the Dictionary conversion.
Thanks!