[lxml-dev] lhtml

Ian Bicking ianb at colorstudy.com
Fri May 25 22:34:26 CEST 2007


On the list-of-things-I-could-imagine-in-lxml.html, I've been wanting to 
reimplement formencode.htmlfill for a long time 
(http://formencode.org/htmlfill.html).  It uses HTMLParser, and I hate 
HTMLParser.  It fills in forms, and also fills in errors.  I'd probably 
change the way errors are given, and separate it into two functions -- 
HTMLParser rewards doing everything in one pass, but with a document 
model it would both be much easier to write and using multiple passes is 
no problem.

-- 
Ian Bicking | ianb at colorstudy.com | http://blog.ianbicking.org
             | Write code, do good | http://topp.openplans.org/careers


More information about the lxml-dev mailing list