HTML -> HTMLGen (or similiar)

Syver Enstad syver-en+usenet at
Thu Apr 10 04:34:47 CEST 2003

VanL <vlindberg at> writes:

> Hello,
> I have a bunch of existing HTML that I need to integrate into a new
> web app.  I would ideally like to use one of the existing HTML
> generation systems (HTMLgen, HyperText, any others) but I don't want
> to have to build up an equivalent representation for the many pages I
> need to work with.
> The pages validate as HTML 4.01, so no strange measures are
> necessary. However, does anyone know of a package that can take
> existing (valid) HTML and make it into an object that I can
> manipulate?

I seem to remember that the python xml package has modules to read
HTML into a DOM tree. I think you have to download the xml package to
get it (it's not in the version included with python as far as I remember).


Vennlig hilsen 

Syver Enstad

More information about the Python-list mailing list