Thanks, Fred. Well, it's "HTML as deployed" but also "Python as deployed", so I need something that's backward-compatible to 1.5.2, I think. It looks like DOM will give me some of that; I'm not sure how well it copes with 'loose' HTML, but so far it looks good. I'm looking for a faster (and cleaner) upgrade from sgmllib.SGMLParser. Bill