def manipulateElementNode(elementNode, target):
 derivation = TranslateDerivation(elementNode)
 if (derivation.translateTetragrid == None):
  print 'Warning, translateTetragrid was None in translate so nothing will be done for:'
  print elementNode
  return
 matrix.setAttributesToMultipliedTetragrid(target, derivation.translateTetragrid)

def manipulateElementNode ( elementNode , target ) : derivation = TranslateDerivation ( elementNode ) if ( derivation . translateTetragrid == None ) : print 'Warning, translateTetragrid was None in translate so nothing will be done for:' print elementNode return matrix . setAttributesToMultipliedTetragrid ( target , derivation . translateTetragrid )
manipulate the xml element .