<html>
Tom:<br>
<br>
Your source may have got mangled in email, but...&nbsp;&nbsp; is it
possible that you have not selected appropriate delimiters for your
template expressions.<br>
<br>
I think the way you are using ST it expects $...$ delimiters on
expressions, and you are using &lt;...&gt;.<br>
<br>
-- Graham<br>
<br>
<br>
<br>
<blockquote type=cite cite>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
var template = new Antlr.StringTemplate.StringTemplate(@&quot;<br>
<br>
&lt;aMap.keys:{k| &lt;k&gt; maps to &lt;aMap.(k)&gt;}&gt;.<br>
<br>
&quot;);</blockquote><br>
<br>
<br>
<br>
<blockquote type=cite cite>So the following method, then, does not do as
I expect.&nbsp; Instead it prints, &lt;aMap.keys:{k| &lt;k&gt; maps to
&lt;aMap.(k)&gt;}&gt;.&nbsp;&nbsp; </blockquote></html>