def processChildrenByIndexValue(function, index, indexValue, value, xmlElement):
 if (indexValue.indexName != ''):
  function.localDictionary[indexValue.indexName] = index
 if (indexValue.valueName != ''):
  function.localDictionary[indexValue.valueName] = value
 function.processChildren(xmlElement)

def processChildrenByIndexValue ( function , index , indexValue , value , xmlElement ) : if ( indexValue . indexName != '' ) : function . localDictionary [ indexValue . indexName ] = index if ( indexValue . valueName != '' ) : function . localDictionary [ indexValue . valueName ] = value function . processChildren ( xmlElement )
process children by index value .