On Thu, Nov 20, 2014 at 12:02 PM, Stefan Behnel <stefan...@behnel.de> wrote:
> There's also the E-factory for creating (sub-)trees and a nicely objectish 
> way:
>
> http://lxml.de/lxmlhtml.html#creating-html-with-the-e-factory

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.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to