def METHOD_NAME(cls, dset):
    root = etree.Element("submissions")
    for row in dset.dict:
        elem = etree.SubElement(root, "submission")
        for key, value in row.items():
            field = etree.SubElement(elem, "field", name=key)
            _xml_value(field, value, wrap_single=True)
    return etree.tostring(
        root, xml_declaration=True, encoding="utf8", pretty_print=True
    )