Project | WXT | Basics | Download | Documentation | Samples

Script: template-element

The purpose of a template element is to define id and location for a template. A template must be a (X)HML-file. Templates are used in Module . A definitions element may contain any number of template elements.

<template id="" location=""/>
id(mandatory) Any string that will identifythe template.
location(mandatory) An URI which is absolute or relative to the script. location is corrected for pathfragments.

Examples:

<template id="P" location="mytemp.xml"/>