/**
  Executes the needed operator(s).
  Checks operator names, and calls the appropriate functions.
 */
 function modify(&$tpl, &$operatorName, &$operatorParameters, &$rootNamespace, &$currentNamespace, &$operatorValue, &$namedParameters)
 {
     switch ($operatorName) {
         case 'washxml':
             $operatorValue = str_replace(array('&', '"', "'", '<', '>'), array('&amp;', '&quot;', '&apos;', '&lt;', '&gt;'), $operatorValue);
             break;
         case 'washxmlcomment':
             // in xml comments the -- string is not permitted
             $operatorValue = str_replace('--', '_-', $operatorValue);
             break;
         case 'washxmlcdata':
             /// @todo
             eZDebug::writeWarning('Template operator washxmlcdata not yet implemented, it should not be used!', __METHOD__);
             break;
         case 'xsdtype':
             $operatorValue = ggWSDLParser::phpType2xsdType($operatorValue, $namedParameters['targetprefix'], $namedParameters['xsdprefix'], $namedParameters['soapencprefix']);
             break;
         case 'classInspect':
             $operatorValue = ggeZWebservices::classInspect($operatorValue);
             break;
     }
 }