Re: Newbie Error on Loading XML

2008-08-11 Thread Devon Ferns
You're missing some parameters for initWithContentsOfURL The full method signature is - (id)initWithC

RE: Newbie Error on Loading XML

2008-08-11 Thread Matt Keyes
That makes sense. I am new to Objective-C and the compiler did not complain with the missing arguments... lesson learned! > CC: cocoa-dev@lists.apple.com > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: Newbie Error on Loading XML > Date: Mon, 11 Aug 2008

Re: Newbie Error on Loading XML

2008-08-11 Thread Randall Meadows
On Aug 11, 2008, at 11:16 AM, Matt Keyes wrote: I am trying to load an XML file from the project, and here is what I do: NSURL *url = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"MyXmlFile" ofType:@"Xml"]]; NSXMLDocument *xmlDoc = nil; @try { xmlDoc = [[NSXMLDocu