[stringtemplate-interest] quick question
Kay Roepke
kroepke at dolphin-services.de
Wed May 10 11:55:42 PDT 2006
On 10. May 2006, at 19:55 Uhr, David Moshal wrote:
> Hi - I apologize in advance if this is a completely obvious question:
>
> How does one iterate in ST?
>
> ie, If I want to create a table with, say 10 rows, how is this done:
(using the AngleBracketTemplateLexer:)
<rows:{row|\<tr><row.datacells:{data|\<td>data.contents\</td>}>\</
tr>}; separator="\n">
See: http://www.stringtemplate.org/doc/doc.tml
HTH,
-k
More information about the stringtemplate-interest
mailing list