site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com "//input[@type='checkbox' and @name='public_gallery']" 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 --Andy This email sent to scottandrew@adelphia.net _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.apple... 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 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.). 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? _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/scottandrew% 40adelphia.net This email sent to site_archiver@lists.apple.com