About Templates Tags Driver Download

An example template

Contents of examples/template.tpl file:

<?? ISO-8859-2 ?>
        <title><?= getVariable("name") ?></title>
/// do stuff
import org.tito.templator.*;
import java.util.*;
private int evaluate() {
   return 1;
<p>evaluate: <?= evaluate() ?></p>
<p>Comment: <?= getVariable("comment") ?></p>


Templator produces Template_tpl.java file. This file is then compiled. Any compile errors will be written to standard error stream. Make sure all symbos used inside templator tags are defined.

See tag info for correct use.

Driving output generation

To actually produce any output you will need a 'driver'. See driver info.