Re: simple string to NSData question

2008-08-07 Thread Chris Suter
On Fri, Aug 8, 2008 at 3:49 PM, Ken Thomases <[EMAIL PROTECTED]> wrote: > On Aug 7, 2008, at 2:15 PM, phil swenson wrote: > > I'm trying to parse an xml file, so to get started I put the xml in a >> String: >> >> NSString *xml = @"> >> encoding=\"UTF-8\"?>LarryFurg"; >> >> >> Now I need to move t

Re: simple string to NSData question

2008-08-07 Thread Ken Thomases
On Aug 7, 2008, at 2:15 PM, phil swenson wrote: I'm trying to parse an xml file, so to get started I put the xml in a String: NSString *xml = @"encoding=\"UTF-8\"?>LarryFurgperson>"; Now I need to move this to a NSXMLDocument, which takes an NSData. Looking at NSData, I see there is a metho

simple string to NSData question

2008-08-07 Thread phil swenson
I'm a newbie (haven't done C in years, been using Java, Ruby mostly), so sorry if this is a dumb question. I'm trying to parse an xml file, so to get started I put the xml in a String: NSString *xml = @"LarryFurg"; Now I need to move this to a NSXMLDocument, which takes an NSData. Looking at N