> Any ideas on how this escaping can be easily achieved? You have to specify the format option in the template, and detect it in the attribute renderer: <http://www.antlr.org/wiki/display/ST/Object+rendering#Objectrendering-FormatOption> Regards, Johan