move upload_xml to Text