lxml -> libxml2 replacements