Read file
XML
<file:read var="var" filename="string"/>
<file:read /> reads the entire content of a file.
<file:read /> is the complement of the <file:write /> operation.
Attributes
| Name | Type | Description | Defined By |
|---|---|---|---|
| var | var | Result variable name | file:read |
| filename | string | Filename/URL | file:read |
Results
| Binding | Type | Predicate |
|---|---|---|
| var | string | N/A |
Examples
XML
<file:write filename="./test/ixml.inc">iXML</file:write>
<output>
<file:read filename="./test/ixml.inc"/>
</output>
<!-- iXML -->