Re: NSXMLElement -stringValue and whitepsace
Re: NSXMLElement -stringValue and whitepsace
- Subject: Re: NSXMLElement -stringValue and whitepsace
- From: Keith Blount <email@hidden>
- Date: Sun, 23 Nov 2008 14:42:37 -0800 (PST)
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/NSXMLNodePreserveWhitespace
>
Yes, that was one of the first things I tried, in fact:
NSXMLDocument *OPMLDocument = [[NSXMLDocument alloc] initWithData:xmlData options:NSXMLNodePreserveWhitespace error:NULL];
The whitespace of attribute stringValues still gets squished, though.
Thanks,
Keith
_______________________________________________
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