[% FOR line IN xml %] [% size_key = 'size'; value_key = 'value'; line.$size_key.$value_key %] [% END %]
This assumes you are using Template::Toolkit, of course.
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
In reply to Re: Template reserved words
by kennethk
in thread Template reserved words
by packetstormer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |