separate TemplateAction.scala and XMLDocumentImportUtil.scala. TODO check
behaviour of operator with array parameter.