def xml_findall(xpath):
 def xpath_findall(value):
  validate(ET.iselement, value)
  return value.findall(xpath)
 return transform(xpath_findall)

def xml_findall ( xpath ) : def xpath_findall ( value ) : validate ( ET . iselement , value ) return value . findall ( xpath ) return transform ( xpath_findall )
find a list of xml elements via xpath .