Template Tags

Tag

Data type

Description

template

Object

Creates a template object.

loadTemplate

Default method

Loads the template file name.

template

Property

<template id="myTemplateId">yourFileName.xml</template>

Data type

Object

Description

Loads the XML template file given inside the XML tag. The file name is relative to the site path.

Attributes:

  • id (required): the identifier.

It is equivalent to:

<template id="myTemplateId">
   <loadTemplate fileName="yourFileName.xml"/>
</template>

loadTemplate

Property

<loadTemplate fileName="yourFileName.xml"/>

Data type

Default method

Description

Loads the XML template file given in the fileName attribute.

Attributes:

  • fileName (required): the file name is relative to the site path.