Working with HTML5 documents

Ian Kelly ian.g.kelly at
Thu Nov 20 20:44:31 CET 2014

On Thu, Nov 20, 2014 at 12:02 PM, Stefan Behnel <stefan_ml at> wrote:
> There's also the E-factory for creating (sub-)trees and a nicely objectish way:

That looks ugly with all those caps and also hard to extend. Notably
it seems to be missing any functions to build HTML5 elements, unless
those have been added in lxml 3.4.

Working with lxml.html.Element directly seems pretty versatile, though.

More information about the Python-list mailing list