On 6 Jan 2010, at 16:22, Eric E. Dolecki wrote:

> I am fetching weather data & in my results I am getting today and tomorrow's
> forecasts. However they have the same node:
> 
> <yweather:forecast day="Wed" ... />
> <yweather:forecast day="Thu" .../>
> 
> How can I get at those separately in my didStartElement? Is there a way to
> turn that into an array or something?

No they don't have the same node.  They are two nodes with the same element 
name.  If both appear in  your XML they will each result in a call to the 
parser:didStartElement:... method.  


> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/adc%40jeremyp.net
> 
> This email sent to a...@jeremyp.net

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to