• 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: Parsing a HTML Page
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parsing a HTML Page


  • Subject: Re: Parsing a HTML Page
  • From: Lance Drake <email@hidden>
  • Date: Sat, 1 May 2004 21:51:13 -0600

I would like to download a HTML page from the Internet and reuse
just a part of the contained information in a componet of my own.
What would you guys recommend me, to parse the downloaded data, in
order to find the part, that I need.

Hi Philip,

Have you looked at the CoreFoundation XML Parsing possibilities? One would think you should be able to let CF do the heavy lifting - and just extract the CFXMLNode reference of interest.

<http://developer.apple.com/documentation/CoreFoundation/Conceptual/ CFXML/index.html>

To Quote: "Core Foundation provides an XML parser you can use to read and extract data from XML documents. Core Foundation provides two APIs with which to access the parser. A high-level API converts XML data into the Core Foundation collection CFXMLTree, and a low-level callback-based API allows you to perform any action you wish on each XML structure as it is encountered by the parser."

Lance Drake
_______________________________________________
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.


  • Follow-Ups:
    • Re: Parsing a HTML Page
      • From: Finlay Dobbie <email@hidden>
  • Prev by Date: Re: Reading RTF files
  • Next by Date: Re: OT? Why are list archive search results so lame?
  • Previous by thread: Re: Parsing a HTML Page
  • Next by thread: Re: Parsing a HTML Page
  • Index(es):
    • Date
    • Thread