[lxml-dev] Best practice for lxml and html5lib

Fabien xphuture at gmail.com
Tue Sep 16 11:42:26 CEST 2008


Hello,

I'm trying to make lxml and html5lib working together and I must say
that I've some difficulties to find the best solution. lxml 2.2 seems
to works well with lxml.html.html5parser but I'm a bit reluctant to
put alpha software in production. And when using lxml 2.1.x and
html5lib "lxml" tree builder, I get "ValueError: Invalid attribute
name u'xml:lang'".

Any help for the best combination of lxml and html5lib is welcomed.
-- 
Fabien SCHWOB


More information about the lxml-dev mailing list