ControlTier Inc. > Open.ControlTier
 
Font size:      

Template

Description

The Template data type describes a template in the DAV store.

Template

AttributeDescriptionRequired
fileThe file name.Yes
dirDirectory name.Yes
typeType of template. Valid types are: "xsl", "simple"Yes

Examples

Shows the template data type used within a transform-create task, specifying the template to use in the transform definition.

	<transform-create serverurl="${viewdoc.server}" depot="${entity.depot}"
                resultproperty="rs"
                comment="something re this update">
                <context direction="internal" proximity="1" maprefuri="${entity.mapref-uri}"/>
                <document file="haha.txt" dir="/${entity.depot}/publish" type="text-plain"/>
                <template file="${templateFile}" dir="/${entity.depot}/templates" type="simple"/>
        </transform-create>