Re: XML parser for objective C
Re: XML parser for objective C
- Subject: Re: XML parser for objective C
- From: Scott Andrew <email@hidden>
- Date: Fri, 30 Sep 2005 08:51:10 -0700
yes there is a NSXMLDocumentTidyHTML flag that will format the HTML
into XHTML for parsing. I haven't had an issue yet with the HTML
pages i have been parsing.
I have been using it to parse HTML pages for data for my Cocoa UI
that is in my iPhoto plugin.. Parses like
"//input[@type='checkbox' and @name='public_gallery']"
are life savers.. (of course i have function that isCheckBoXChecked
that looks for a checkbox and returns bool if a box is checked or not.).
Scott
On Sep 30, 2005, at 7:40 AM, Andy Lee wrote:
On Sep 30, 2005, at 10:33 AM, Scott Andrew wrote:
NSXML will also take HTML, which i use it for alot with project
Out of curiosity: does NSXML handle malformed HTML, or HTML that
isn't XHTML? Does it try to recover from syntax errors (like
browsers do), or does it reject the whole document?
--Andy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40adelphia.net
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden