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
| Name | Type | Description | Defined By |
|---|---|---|---|
| var | var | Result variable name | temp:write |
| var_struct | var | Variable name for structural value | temp:write |
| id | string | Identifier | temp:write |
Results
| Binding | Type | Predicate |
|---|---|---|
| var | string | N/A |
Examples
XML
<temp:write var="id">iXML</temp:write>
<output>
<temp:read id="$id"/>
</output>
<!-- iXML -->