• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSXMLParser & whitespace
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >NSXMLParser & whitespace (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: awakeFromNib being called twice?
  • Next by Date: Re: Default button background black for dual G5, not single G4
  • Previous by thread: NSXMLParser & whitespace
  • Next by thread: Re: NSXMLParser & whitespace
  • Index(es):
    • Date
    • Thread