use content instead of text for passing to etree.fromstring