NSXMLParser & whitespace
NSXMLParser & whitespace
- Subject: NSXMLParser & whitespace
- From: Ken Tozier <email@hidden>
- Date: Mon, 26 Jul 2004 11:31:58 -0400
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?
Thanks,
Ken
_______________________________________________
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.