[stringtemplate-interest] counter in anonymous templates with
multi-valued attributes
Jose San Leandro
jose.sanleandro at ventura24.es
Tue Sep 6 08:45:42 PDT 2005
Hi,
It seems the default counter, $i$ (or <i>), is only available on templates
which accept one multi-valued attribute, such as
users:{ User $i$: $it.name$ }
I get an error when trying to access such element on templates with more than
one formal parameter:
users,jobs:{ u,j | User $i$: $u.name$, $j.name$ }
Is there any way to access the counter in these cases?
Thank you.
More information about the stringtemplate-interest
mailing list