Template language


Each template is a string that contains zero or more text characters and zero or more control tags. Tag is a case-sensitive character sequence that is enclosed in < and > characters. Each tag has a name - alphanumeric sequence of characters. Optionally the tag name can be prefixed by TagPrefix, that is specified as a property.


Each tag can have one or more parameters represented as name="value" pair. Each tag must either be closed or have a closing pair.




<#macro name="MacroName"/>


<#if name="condition"><#/if name="condition">


Unlike XML and HTML languages, each control tag including closing tags must have non-empty "name" parameter as shown in the above example for if tag.


Each tag can have any number of optional parameters.


The following tags are defined:



Time Tracker - Download - Buy now