def get_submit_attr_str(submit_attrs):
    """Convert submit attributes from a dictionary form to the corresponding configuration string

    Args:
        submit_attrs (dict): the dictionary containing the submit attributes

    Returns:
        string: the string representing the xml submit attributes section for a single entry
    """
    out = ""
    if submit_attrs:
        for name, value in sorted(submit_attrs.items()):
            if value is not None:
                out += f'\n                  <submit_attr name="{name}" value="{value}"/>'

    return out