def iterServices(xrd_tree):
 xrd = getYadisXRD(xrd_tree)
 return prioSort(xrd.findall(service_tag))

def iterServices ( xrd_tree ) : xrd = getYadisXRD ( xrd_tree ) return prioSort ( xrd . findall ( service_tag ) )
return an iterable over the service elements in the yadis xrd sorted by priority .