Apply dynamic list of templates to an argument

Posted by Diego Martinez on Stack Overflow See other posts from Stack Overflow or by Diego Martinez
Published on 2012-12-14T11:57:41Z Indexed on 2012/12/15 23:04 UTC
Read the original article Hit count: 247

I need apply a variable sequence of templates to an argument.

example 1:

arg:tpl1():tpl2():...:tplN()

Suppose that i have other multi valued argument, and each value is the name for a dynamic template invocation. ¿What is the better form of apply all the templates from the list to my argument?

tplNames : {name | <(name)(arg)>} 

not works, just apply a template ever to the same innitial value of my argument, i need the same result of example 1 but in a dynamic way.

Thank you!!

© Stack Overflow or respective owner

Related posts about stringtemplate

Related posts about stringtemplate-4