TPL - Document Template Table

Top  Previous  Next

This table contains the information about the document templates.

To define a document template the directive define doctemplate is used. 

define doctemplate

Defines a document template entry in the XCICS/TS templates table (TPL).

define doctemplatename=<value>,
[type=(file|tsqueue)],
[path="<path>"],
[tsqueue=<value>];

 

name

It is the name of the document template (max. 48 chars).

type

defines the type of template.

file

the document template is stored in a flat file

tsqueue

the document template is stored in a temporary storage queue (this type is not currently supported).

path

Absolute path of the file containing the template.

tsqueue

Name of the Temporary storage containing the template

Example

define doctemplate        name=MAIN, type=file, path=$HOME/doctemplates/main.html;
define doctemplate        name=HOMEPAGE, type=file, path=$HOME/doctemplates/home_page.html;