"page(names,phones,salaries) ::= "+newline+
" << <names,phones,salaries:{n,p,s | <value(n)>@<value(p)>: <value(s)>}; separator=\", \"> >>"+newline +
"value(x) ::= \"<if(!x)>n/a<else><x><endif>\"" +newline;
writeFile(tmpdir, "g.stg", templates);
STGroup group = new STGroupFile(tmpdir+"/g.stg");
ST p = group.getInstanceOf("page");
p.add("names", "Ter");
p.add("names", "Tom");
p.add("names", "Sriram");
p.add("phones", "1");
p.add("phones", "2");