(domain_id)
:param domain_id: uuid of the domain
    :return: the path to the image file
:param domain_id: uuid of the domain
    :return: the path to the image file
: param domain_id : uuid of the domain : return : the path to the image file
def get_image_for_domain(domain_id):
    """
    :param domain_id: uuid of the domain
    :return: the path to the image file
    """
    domain = get_domain_by_uuid(domain_id)
    xml = domain.XMLDesc(0)
    doc = etree.fromstring(xml)
    source_el = doc.find(".//source")
    if source_el is not None:
        source_file = source_el.get("file")
        return source_file
    else:
        return None
def get_image_for_domain ( domain_id ) : domain = get_domain_by_uuid ( domain_id ) xml = domain . XMLDesc ( 0 ) doc = etree . fromstring ( xml ) source_el = doc . find ( ".//source" ) if source_el is not None : source_file = source_el . get ( "file" ) return source_file else : return None