• 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 from a string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parsing XML from a string


  • Subject: Re: Parsing XML from a string
  • From: Mike Glass <email@hidden>
  • Date: Tue, 23 Oct 2007 17:35:58 -0400

Have a look at NSXMLDocument. Specifically, the initWithXMLString:options:error: method.

http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSXMLDocument_Class/Reference/Reference.html#/ /apple_ref/occ/instm/NSXMLDocument/initWithXMLString:options:error:

On Oct 23, 2007, at 5:22 PM, Marcel Borsten wrote:

I'm using NSTask to wrap an application, this application gives back XML. Can anybody sent me in the right direction in parsing the XML- response and using the elements? Do I use NSXMLParser? But this only seems to work with the contents of an URL or file. Is there a way parse XML from a string object?

Marcel_______________________________________________

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 from a string (From: Marcel Borsten <email@hidden>)

  • Prev by Date: Parsing XML from a string
  • Next by Date: Re: Parsing XML from a string
  • Previous by thread: Parsing XML from a string
  • Next by thread: Re: Parsing XML from a string
  • Index(es):
    • Date
    • Thread