def define_xml_str(xml):
 conn = __get_conn()
 return (conn.defineXML(xml) is not None)

def define_xml_str ( xml ) : conn = __get_conn ( ) return ( conn . defineXML ( xml ) is not None )
define a domain based on the xml passed to the function cli example: .