Re: Parsing xml files in Cocoa applications

2008-10-31 Thread Devon Ferns
NSXMLParser is also good if you don't know or don't care what the order of the elements are in your XML file. Devon Nicko van Someren wrote: It is worth noting that while the event-driven NSXMLParser class is available on the iPhone, NXSMLDocument and its friends for the XML DOM are NOT avai

Re: Parsing xml files in Cocoa applications

2008-10-31 Thread Dave DeLong
Our local CocoaHeads group had a presentation on XML parsing this month in Cocoa. We should be getting our screencasts and slides online in the next day or two. I'll let you know when they're up. Dave DeLong On Oct 31, 2008, at 8:56 AM, Nicko van Someren wrote: On 30 Oct 2008, at 09:29,

Re: Parsing xml files in Cocoa applications

2008-10-31 Thread Nicko van Someren
On 30 Oct 2008, at 09:29, Paul Reilly wrote: There is also some good sample code on the iPhone Developer site, called SeismicXML which shows how to parse an XML document. It is worth noting that while the event-driven NSXMLParser class is available on the iPhone, NXSMLDocument and its frie

Re: Parsing xml files in Cocoa applications

2008-10-30 Thread Paul Reilly
There is also some good sample code on the iPhone Developer site, called SeismicXML which shows how to parse an XML document. Paul ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the lis

Re: Parsing xml files in Cocoa applications

2008-10-30 Thread Joseph Crawford
It all depends on what type of parsing you wish to do, if you are worried about the order in which the file is parsed you would use NSXMLParser which is event driven. If you just want to pull data from the XML file and do not care of the order you can use NSXMLDocument. I wrote an applicati

Re: Parsing xml files in Cocoa applications

2008-10-30 Thread Colin Barrett
There's not one but two XML parsers built right in (NSXMLPaser, NSXMLDocument & friends), and there's also any number of C libraries (expat, libxml, etc). If for some bizarre you reason you need to parse XML files backwards, there's http://boredzo.org/lmx/. On Wed, Oct 29, 2008 at 2:28 AM, Arnab

Re: Parsing xml files in Cocoa applications

2008-10-29 Thread Nick Zitzmann
On Oct 29, 2008, at 3:28 AM, Arnab Ganguly wrote: How do I read, parse xml files in Cocoa App ?Any standard parser is available? Did you see the documentation for the NSXML family of classes? Nick Zitzmann ___ Coco