Skip to content

Template

Define a named template that can be invoked with CallTemplate. Unlike a Function, a template may contain layout actions (such as PlaceObject); they run at the call site, in document order, exactly once.

Child elements

AttachFile, CallTemplate, ClearPage, ForAll, LoadXML, Loop, Message, NextFrame, NextRow, Param, PlaceObject, ProcessNode, SaveXML, SetVariable, Slate, Switch, Until, Value, While

Parent elements

Layout, Section

Attributes

name (text)
The name of the template.

Example

See the example at CallTemplate.

See also