def xml_findtext(xpath):
 return all(xml_find(xpath), getattr('text'))

def xml_findtext ( xpath ) : return all ( xml_find ( xpath ) , getattr ( 'text' ) )
find a xml element via xpath and extract its text .