parameters: (domain_id)
docstring: :param domain_id: uuid of the domain
      :return: the path to the image file
docstring_summary: :param domain_id: uuid of the domain
      :return: the path to the image file
docstring_tokens: : param domain_id : uuid of the domain : return : the path to the image file
function: 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
function_tokens: 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