Font size:
Document
Description
The Document data type describes a published document in the DAV store.
Document
| Attribute | Description | Required |
|---|---|---|
| file | The file name. | Yes |
| dir | Directory name. | Yes |
| type | Type of file. Valid types are: "text/plain", "text/html", "text/xml" | Yes |
Examples
Shows the document data type used within a transform-create task, specifying the document to save into the DAV share.
<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>


