<jesso1607 at rogers.com> wrote in message news:mailman.156.1089355200.5135.python-list at python.org... > I want to convert html to xml. > > I am doing this: ... > Can you suggest another way of doing this in Python? I haven't benchmarked but I would imagine using HTML Tidy (or µTidylib) is as good as any, particularly if your HTML source is a bit rough.