• 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: A framework for parsing HTML?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: A framework for parsing HTML?
      • From: Mark Patterson <email@hidden>
  • Prev by Date: Re: Access instance var from NSValueTransformer
  • Next by Date: Re: Access instance var from NSValueTransformer
  • Previous by thread: Re: A framework for parsing HTML?
  • Next by thread: Re: A framework for parsing HTML?
  • Index(es):
    • Date
    • Thread