Script: template-element
The purpose of a template element is to define id and location for a template. A template must be wellformed. It may be a HTML5-file, a XHTML-file or a XML-file. The latter is preferable due to encoding specification (in the xml-header).
The output option decides wether the XML-header should be included in the built modul.
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"/>