• 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: XML parser for objective C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >XML parser for objective C (From: David Chan <email@hidden>)
 >Re: XML parser for objective C (From: Niko Matsakis <email@hidden>)
 >Re: XML parser for objective C (From: "Alexander v. Below" <email@hidden>)
 >Re: XML parser for objective C (From: Bryan Bonczek <email@hidden>)
 >Re: XML parser for objective C (From: Scott Andrew <email@hidden>)
 >Re: XML parser for objective C (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: XML parser for objective C
  • Next by Date: Re: XML parser for objective C
  • Previous by thread: Re: XML parser for objective C
  • Next by thread: Re: XML parser for objective C
  • Index(es):
    • Date
    • Thread