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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]