def getComplexByPrefixes(prefixes, valueComplex, xmlElement):
 for prefix in prefixes:
  valueComplex = getComplexByPrefix(prefix, valueComplex, xmlElement)
 return valueComplex

def getComplexByPrefixes ( prefixes , valueComplex , xmlElement ) : for prefix in prefixes : valueComplex = getComplexByPrefix ( prefix , valueComplex , xmlElement ) return valueComplex
get complex from prefixes and xml element .