• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Parsing xml files in Cocoa applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parsing xml files in Cocoa applications


  • Subject: Re: Parsing xml files in Cocoa applications
  • From: Joseph Crawford <email@hidden>
  • Date: Thu, 30 Oct 2008 08:08:43 -0400

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 application that parses an xml file from a web service. I could provide my code as an example for you, I used NSXMLDocument.

Thanks,
Joseph Crafword
On Oct 29, 2008, at 5:28 AM, Arnab Ganguly wrote:

Hi All,
How do I read, parse xml files in Cocoa App ?Any standard parser is
available?
Thanks in advance
Regards
Arnab
_______________________________________________

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

_______________________________________________

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


References: 
 >Parsing xml files in Cocoa applications (From: "Arnab Ganguly" <email@hidden>)

  • Prev by Date: RE: Re: Static text over an image
  • Next by Date: Re: Static text over an image
  • Previous by thread: Re: Parsing xml files in Cocoa applications
  • Next by thread: interface builder and nsarraycontroller binding newbie question
  • Index(es):
    • Date
    • Thread