Re: referencing XML Data
Re: referencing XML Data
- Subject: Re: referencing XML Data
- From: Hal Mueller <email@hidden>
- Date: Mon, 15 Sep 2008 11:20:04 -0700
Working from the simple NSXMLParser example from
http://weblog.bignerdranch.com/?p=48
I suggest you use parser:didStartElement:... to look for <customer>
and begin accumulating fields, and use parser:didEndElement:... to
note completion of first_name, last_name, etc and react accordingly.
In the simplest case you can just use NSLog to spit out the contents
of the fields, to get yourself started.
It took me less than an hour to plug in the samples and get stub
methods going.
Hal
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden