def create_xml_str(xml):
 conn = __get_conn()
 return (conn.createXML(xml, 0) is not None)

def create_xml_str ( xml ) : conn = __get_conn ( ) return ( conn . createXML ( xml , 0 ) is not None )
start a domain based on the xml passed to the function cli example: .