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

[comment @main /]
[template public myTemplate(myParam : ecore::EPackage)]
  [file (myParam.name + '.txt', overwrite)]
    first line
    [if (myParam.name.startsWith('z'))][myParam.name/]
    [/if]
    last line
  [/file]
[/template]