<file>

Purpose The <file> statement is used to read the contents of a file and return them as the return value of the statement.
Format <file>{file path}</file>
{file path} the path or URL of the file being read.
Example #1 <xout>MyFile contents are\r\n</xout>
<xout>
   <file>C:\\MyDir\\MyFile.xml</file>
</xout>

The file found in C:\MyDir\MyFile.xml is read and its contents are written to the output stream as follows:
MyFile contents are
{contents of the file...}

Example #2 <xout>MyFile contents are\r\n</xout>
<xout>
   <file>http://MyServer/MyDir/MyFile.xml</file>
</xout>

The file found in http://MyServer/MyDir/MyFile.xml is read and its contents are written to the output stream as follows:
MyFile contents are
{contents of the file...}