[stringtemplate-interest] nested loop
Benjamin Ortuzar Seconde
bortuzar at gmail.com
Thu Feb 25 02:28:21 PST 2010
Hi Guys,
Im interested in writting something similar to a nested loop using
StringTemplate template engine. In C# have a HashTable of which each Key's
Value contains List of Document objects, each Document has a title and
source. I would like to list at the begining of an email, a summary of the
document titles per source.
h1>Summary</h1><h2>Source A</h2><ul>
<li>title 1</li>
<li>title 2</li> </ul><h2>Source B</h2><ul>
<li>title 3</li>
<li>title 4</li> </ul>
What is the best way to accomplish this with StringTemplate? Do you have
any sample code for something like this. thanks,
ben
--
Benjamin Ortuzar
bortuzar at gmail.com
Sent from London, Greater London, United Kingdom
--
Benjamin Ortuzar
bortuzar at gmail.com
Sent from London, Greater London, United Kingdom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20100225/b9208044/attachment.html
More information about the stringtemplate-interest
mailing list