Fixes
    object of type 'lxml.etree._XSLTResultTree' has no len()
error when trying to use any xslt transformation.