forgot to add 'utf-8' argument to new_from_xml()