def value_from_atts_elem(elem):
    """ value_from_atts_elem takes an attribute element and retuns a string value

    :type elem: dict
    :param elem: Element from the attributes map

    :rtype: str
    :return: A string rep of the element value
    """
    if elem.get('string_value') is not None:
        return elem.get('string_value').get('value')
    elif elem.get('int_value') is not None:
        return str(elem.get('int_value'))
    elif elem.get('bool_value') is not None:
        return str(elem.get('bool_value'))
    elif elem.get('double_value') is not None:
        return str(elem.get('double_value').get('value'))
    return ''
