Re: Parsing a HTML Page
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.