Skip to main content

Read file

Anatomy

<file:read var="var" filename="string"/>

Description: FILE:READ reads the entire content of a file.

FILE:READ is the complement of the FILE:WRITE operation.

Attributes

NameTypeDescriptionDefined By
varvarResult variable name file:read
filenamestringFilename/URL file:read

Results:

BindingTypePredicate
varstringN/A

Examples

Example

<file:write filename="./test/ixml.inc">iXML</file:write>

<output>
<file:read filename="./test/ixml.inc"/>
</output>

<!-- iXML -->