import_text_block

The function import_text_block imports a stored XML text block structure so that it can be used in the ITP Model run.

import_text_block ( "<?xml ... >" )

The result of this function is a value of type TEXT, which contains a reference to a Text Block. This Text Block reference can be used in the parameter VAR of the statement TEXTBLOCK, or as the default value of an EDITABLE_TEXTBLOCK question in a FORM. The Text Block reference is in an unspecified format, and it is valid only during the current model run.

The parameter to the function import_text_block should be an XML representation of a Text Block that was retrieved from an ITP/Server XML Metadata file. When ITP/Server completes a model run, all answers to FORM questions are stored in an XML Metadata file, including the answers to EDITABLE_TEXTBLOCK questions. For more information on ITP/Server XML Metadata, refer to the ITP/Server Manual chapter Integrating.