The content of an edited Text Block is stored in xml-format, which is escaped inside the meta data xml in order to allow the ITP XML data connection to treat it as a single entry. Given a DID that describes the meta data xml (the current document comes with an example), the content can be read from an ITP Model. The function import_text_block has been introduced, which allows the model developer to translate the Text Block content to an identifier. The identifier can be used inside FORM statements e.g.,
(* assumption: the text block content has been read from the meta data file and stored in the tbk_content variable *)
TEXT tbk_id := import_text_block(tbk_content)
TEXT answer
FORM "A form with a single editable text block"
QUESTION "Clause A001"
ID("A001")
TEXTBLOCK
DFT(tbk_id)
ANSWER answer