Write temporary data file
Anatomy
<temp:write var="var" var_struct="var" id="(new)">
string
</temp:write>
Description: 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
Example
<temp:write var="id">iXML</temp:write>
<output>
<temp:read id="$id"/>
</output>
<!-- iXML -->