Re: NSXMLParser & whitespace
Re: NSXMLParser & whitespace
- Subject: Re: NSXMLParser & whitespace
- From: Kevin Ballard <email@hidden>
- Date: Mon, 26 Jul 2004 20:58:01 -0400
I think a better question is why are you writing a custom parser for
plist files?
On Jul 26, 2004, at 11:31 AM, Ken Tozier wrote:
>
I'm writing a custom parser for plist files using NSXMLParser and have
>
everything working OK except for the "pretty" whitespace Property List
>
Editor inserts for readability. All my found strings end with returns
>
followed by a variable number of tabs. I've tried using "parser:
>
foundIgnorableWhitespace:" and releasing the whitespace string like so:
>
>
- (void) parser:(NSXMLParser *) parser
>
foundIgnorableWhitespace:(NSString *) whitespaceString
>
{
>
[whitespaceString release];
>
}
>
>
but the found strings still have the whitespace suffix.
>
>
Anyone know how to ignore whitespace in found strings?
--
Kevin Ballard
email@hidden
http://www.tildesoft.com
http://kevin.sb.org
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.