[module withExpressionIndentation('http://www.eclipse.org/emf/2002/Ecore')/]

[comment @main /]
[template public myTemplate(myParam : ecore::EPackage)]
  [file (myParam.name + '.txt', overwrite)]
    ['1\n2\n3'/][for (myVariable : ecore::EClassifier | myParam.eClassifiers)]
                  [myVariable.name/]
                [/for]
  [/file]
[/template]