Template elements

The template namespace prefix is template: and the namespace declaration is http://www.volantis.com/xmlns/marlin-template.

The template namespace prefix is template: and the namespace declaration is http://www.volantis.com/xmlns/marlin-template.

Name Purpose
template:apply

Applies a template to the bound parameter values. If the optional href attribute is set, the template:binding element must be used to specify a binding. If the attribute is omitted, multiple template:bindings and a nested template:definition must be used.

template:binding

Specifies a binding to a parameter value. If a value is fixed, then it should be set using the value attribute. If value is dynamic or larger than can be used as an attribute, then it can be set using a nested element appropriate to the parameter type.

template:bindings

Container for multiple template:binding elements, used with a full template definition.

template:body

The container for the template body.

template:complexValue

Specifies a complex value for a parameter. The element has an open content model.

template:declarations

Contains one or more parameter declarations.

template:definition

Container for template elements.

template:documentation

Container for user documentation. A vocabulary such as XHTML is recommended. A custom XSL stylesheet may be used to extract the content for a user guide.

template:parameter

Defines a parameter. If the default value of the parameter is fixed, it should be set using the default attribute. If it is dynamic, or larger than can be used as an attribute, then it can be set using a nested element appropriate to the parameter type.

template:simpleValue

Defines a simple parameter value containing character data. See Using template parameters for more information on the possible values for the evaluationMode attribute.

template:value

Identifies the position to insert parameter content in the document. This may be used at any point within the body of the template. If the parameter has not been declared, or is not of simple type then an error is raised.

Related topics