Re: NSXMLElement -stringValue and whitepsace

2008-11-24 Thread Klaus Backert
Am 24.11.2008 um 02:41 schrieb Keith Blount: Thanks for trying... It's a shame... I have an OPML importer (no export) working based on old code I had found based on CFXMLTreeRef, but I was hoping to write an importer/exporter based on NSXMLDocument, and this is the one sticking point - eve

Re: NSXMLElement -stringValue and whitepsace

2008-11-23 Thread Jeff Johnson
On Nov 23, 2008, at 7:41 PM, Keith Blount wrote: Thanks for trying... It's a shame... I have an OPML importer (no export) working based on old code I had found based on CFXMLTreeRef, but I was hoping to write an importer/exporter based on NSXMLDocument, and this is the one sticking point -

Re: NSXMLElement -stringValue and whitepsace

2008-11-23 Thread Rob Keniger
On 24/11/2008, at 12:09 PM, Rob Keniger wrote: When you create the NSXMLDocument, by doing - initWithXMLString:options:error: or the equivalent method that takes NSData, are you using the NSXMLNodePreserveWhitespace option? Most of the input/output mask options for NSXMLDocument are in th

Re: NSXMLElement -stringValue and whitepsace

2008-11-23 Thread Rob Keniger
On 24/11/2008, at 8:02 AM, Keith Blount wrote: Hi, Apologies in advance, as I believe this may be a very basic question, but I've only recently started using the Cocoa XML classes. I'm using NSXMLDocument, NSXMLNode and NSXMLElement to read and write OPML files. Everything works fine exc

Re: NSXMLElement -stringValue and whitepsace

2008-11-23 Thread Keith Blount
e to look for a different solution altogether? Anyway, thanks for your help - much appreciated. All the best, Keith --- On Mon, 11/24/08, Jeff Johnson <[EMAIL PROTECTED]> wrote: > From: Jeff Johnson <[EMAIL PROTECTED]> > Subject: Re: NSXMLElement -stringValue and whitepsace >

Re: NSXMLElement -stringValue and whitepsace

2008-11-23 Thread Jeff Johnson
On Nov 23, 2008, at 6:56 PM, Jeff Johnson wrote: On Nov 23, 2008, at 4:42 PM, Keith Blount wrote: Hi Jeff, Thanks for the reply. Keith, When you say that none of the options you've tried make a difference, does that include this one? http://developer.apple.com/documentation/Cocoa/Referenc

Re: NSXMLElement -stringValue and whitepsace

2008-11-23 Thread Jeff Johnson
On Nov 23, 2008, at 4:42 PM, Keith Blount wrote: Hi Jeff, Thanks for the reply. Keith, When you say that none of the options you've tried make a difference, does that include this one? http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSXMLNode_Class/Reference/Refe

Re: NSXMLElement -stringValue and whitepsace

2008-11-23 Thread Keith Blount
Hi Jeff, Thanks for the reply. > Keith, > > When you say that none of the options you've tried make > a difference, does that include this one? > > http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSXMLNode_Class/Reference/Reference.html#//apple_ref/doc/c_ref/NSXMLNod

Re: NSXMLElement -stringValue and whitepsace

2008-11-23 Thread Jeff Johnson
[Removing [EMAIL PROTECTED] from the reply, because I'm not subscribed] Keith, When you say that none of the options you've tried make a difference, does that include this one? http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSXMLNode_Class/Reference/Reference.h