I'm downloading Google weather through the API. I'm having trouble parsing.
Using NSXMLParserDelegate, it finds the element "forecast_conditions," but I cannot seem to extract it's content. The parsers seems to think "high" and "low" etc are separate elements.
This is an element I'm try to parse:
<forecast_conditions><day_of_week data="Sun"/><low data="20"/><high data="38"/><icon data="/ig/images/weather/sunny.gif"/><condition data="Clear"/></forecast_conditions>
I'm surprised ...
`- (void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)string{
NSLog(@"foundCharacters string: %@",string);
}`
doesn't return anything either. I thought this parsed the contents of an element
Help appreciated.