• 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: Read XML from the web
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Read XML from the web


  • Subject: Re: Read XML from the web
  • From: "Mr. Gecko" <email@hidden>
  • Date: Fri, 2 May 2008 18:42:49 -0500

Thanks I will look into it
On May 2, 2008, at 6:40 PM, Nick Zitzmann wrote:


On May 2, 2008, at 5:36 PM, Mr. Gecko wrote:

Hello how would you get xml data from the web and read it in cocoa.


[[NSXMLDocument alloc] initWithData:[NSData dataWithContentsOfURL:@"http://somewhere.com/something.xml "] options:0 error:NULL];

You might want to set options and an error object though. See the NSData and NSXMLDocument documentation for details.

Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________

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: 
 >Read XML from the web (From: "Mr. Gecko" <email@hidden>)
 >Re: Read XML from the web (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Read XML from the web
  • Next by Date: Re: Rotating an NSTableView.
  • Previous by thread: Re: Read XML from the web
  • Next by thread: Putting an Icon in the MenuBar
  • Index(es):
    • Date
    • Thread