def processChildNodesByIndexValue(elementNode, function, index, indexValue, value):
 if (indexValue.indexName != ''):
  function.localDictionary[indexValue.indexName] = index
 if (indexValue.valueName != ''):
  function.localDictionary[indexValue.valueName] = value
 function.processChildNodes(elementNode)

def processChildNodesByIndexValue ( elementNode , function , index , indexValue , value ) : if ( indexValue . indexName != '' ) : function . localDictionary [ indexValue . indexName ] = index if ( indexValue . valueName != '' ) : function . localDictionary [ indexValue . valueName ] = value function . processChildNodes ( elementNode )
process childnodes by index value .