def getEvaluatedDictionaryByEvaluationKeys(elementNode, evaluationKeys):
 evaluatedDictionary = {}
 for key in elementNode.attributes.keys():
  if (key in evaluationKeys):
   addValueToEvaluatedDictionary(elementNode, evaluatedDictionary, key)
 return evaluatedDictionary

def getEvaluatedDictionaryByEvaluationKeys ( elementNode , evaluationKeys ) : evaluatedDictionary = { } for key in elementNode . attributes . keys ( ) : if ( key in evaluationKeys ) : addValueToEvaluatedDictionary ( elementNode , evaluatedDictionary , key ) return evaluatedDictionary
get the evaluated dictionary .