Font size:
Template
Description
The Template data type describes a template in the DAV store.
Template
| Attribute | Description | Required |
|---|---|---|
| file | The file name. | Yes |
| dir | Directory name. | Yes |
| type | Type 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>


