• 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: Nick Zitzmann <email@hidden>
  • Date: Fri, 2 May 2008 17:40:17 -0600


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


  • Follow-Ups:
    • Re: Read XML from the web
      • From: "Mr. Gecko" <email@hidden>
References: 
 >Read XML from the web (From: "Mr. Gecko" <email@hidden>)

  • Prev by Date: Re: Loading a .nib?
  • Next by Date: Re: Read XML from the web
  • Previous by thread: Read XML from the web
  • Next by thread: Re: Read XML from the web
  • Index(es):
    • Date
    • Thread