Renders the compiled template with the given variables.
Example:
string tpl = "{{gree" + "ting}}, {{na" + "me}}!";
var tmpl = Template.compile (tpl);
var vars = new HashMap<string, string> (str_hash, str_equal);
vars.put ("greeting", "Hello");
vars.put ("name", "World");
string result = tmpl.render (vars);
| vars |
variable map for substitution. |
|
rendered string. |