build content from lxml etree