Re: Working with XML files
Re: Working with XML files
- Subject: Re: Working with XML files
- From: David Phillip Oster <email@hidden>
- Date: Sat, 6 Oct 2007 09:53:02 -0700
At 4:23 AM -0700 10/6/07, email@hidden wrote:
Hey folks,
just wondering if anyone has any tips with working with XML files,
particularly RSS feeds to podcasts using cocoa.
If you are using 10.4 and up, NSXMLDocument does a nice job of
parsing an XML file into a tree structure of NSXMLElements. For 10.3
compartibility, you can use NSXMLParser.
The open source Google Data Objective - C library
http://code.google.com/p/gdata-objectivec-client/ is an example of
wrapping NSXMLDocument in a domain specific layer. Since Google Data
is an instance of ATOM, just like most RSS feeds, you may discover
that the Google Data library itself is just what you need. If not,
looking at its source code may give you some ideas for your RSS
reader.
David Phillip Oster
_______________________________________________
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