RE: A framework for parsing HTML?
RE: A framework for parsing HTML?
- Subject: RE: A framework for parsing HTML?
- From: "John Stiles" <email@hidden>
- Date: Mon, 15 Nov 2004 16:32:17 -0800
- Thread-topic: A framework for parsing HTML?
Do you just want to examine the DOM, or something different? What
exactly are you trying to do?
If you want to manipulate the DOM, JavaScript will let you do whatever
you want. How you communicate this information up to the parent
application is up to you.
At any rate, writing an HTML parser from scratch is almost certainly
reinventing the wheel in this day and age. At the very least, if you
control the input data, require XHTML and use an existing XML parser to
do the gruntwork.
-----Original Message-----
From: cocoa-dev-bounces+jstiles=email@hidden
[mailto:cocoa-dev-bounces+jstiles=email@hidden] On
Behalf Of Mark Patterson
Sent: Monday, November 15, 2004 4:29 PM
To: Cocoa Dev Dev
Subject: A framework for parsing HTML?
Hi,
I am writing an HTML parser as part of a program for doing regular
changes to website. A lot of the work is to parse the html. The initial
update is to convert ASCII fonts for different alphabets to unicode. To
get this right it would have to understand CSS as well, including all
the different ways of importing CSS files. That sounds like a lot of
work, and it has obviously been done in webcore. However I haven't
noticed any API that looks like the sort of thing I want: a mutable
array of an object for the tag and following text. Does this exist? If
so, where?
Regards
Mark
_______________________________________________
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
_______________________________________________
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