[stringtemplate-interest] ListDictionary Iteration

Michael micha-1 at fantasymail.de
Mon Apr 27 23:48:47 PDT 2009


Am Tuesday 28 April 2009 04:03:34 schrieb Todd Stout:
> I'm trying to iterate over a ListDictionary (C# StringTemplate) in a
> template and have each list item invoke another template:
>
> DataDefAssign(cols) :=
> <<
> <cols.keys: { k | <PropDef(name=<k>, type=<cols.(k)>) }>
>

shouldn't this be:
<cols.keys: { k | <PropDef(name=k, type=cols.(k))> }>


Michael




More information about the stringtemplate-interest mailing list