read_text_block_from_file

The read_text_block_from_file function imports a Text Block from an XML file on the file system.

 FUNC TEXT read_text_block_from_file (CONST TEXT file)

The function read_text_block_from_file is of type TEXT.

The function has one parameter:

  • The parameter file is of type TEXT. This is the name of the file that contains the XML.

The function read_text_block_from_file returns a Text Block name that can be used by the Master Template to present it for editing and to produce the content in the output document. This name is only valid for the current Master Template run and should not be stored anywhere.