<#global x=["a", "b", "c"]>
<#global templateSource = r"<#foreach y in x>${y}</#foreach>">
<#transform templateSource?interpret>def</#transform>
<#transform [templateSource]?interpret>def</#transform>
<#transform [templateSource,"id"]?interpret>def</#transform>
