def setAttributeDictionaryByArguments(argumentNames, arguments, xmlElement):
 for (argumentIndex, argument) in enumerate(arguments):
  xmlElement.attributeDictionary[argumentNames[argumentIndex]] = argument

def setAttributeDictionaryByArguments ( argumentNames , arguments , xmlElement ) : for ( argumentIndex , argument ) in enumerate ( arguments ) : xmlElement . attributeDictionary [ argumentNames [ argumentIndex ] ] = argument
set the attribute dictionary to the arguments .