Skip to main content

Write temporary data file

XML
<temp:write var="var" var_struct="var" id="(new)">
string
</temp:write>

<temp:write /> writes content to a temporary data file and returns its identifier.

If the identifier is omitted, it will implicitly be generated. If the temporary data file does not exist, it will implicitly be created. Otherwise, the existing temporary data file is overwritten.

<temp:write /> is the complement of the <temp:read /> operation.

Attributes

NameTypeDescriptionDefined By
varvarResult variable name temp:write
var_structvarVariable name for structural value temp:write
idstringIdentifier temp:write

Results

BindingTypePredicate
varstringN/A

Examples

XML
<temp:write var="id">iXML</temp:write>

<output>
<temp:read id="$id"/>
</output>

<!-- iXML -->