def set_document_xml_from(data, format='kupu', request=None):
    """This change the document XML to data. Data is converted to
        the document XML from the input format, which is Kupu by
        default.
        """
