The previous example's call to the InsertContent command inserted a component with identity "CodeEditRegion0", which still exists in this worksheet. Inserting additional content whose input contains another component with that same identity "CodeEditRegion0" incurs a substitution of the input identity in order to avoid a conflict with the identity of the existing component.
The return value of the following call to InsertContent is a table which can be used to reference the substituted identity of the inserted component.
>
|
C := CodeEditRegion( s, identity = "CodeEditRegion0",
width = 400, height = 300, linenumbers=false,
showborders = false );
|
| (3) |
>
|
lookup := InsertContent(xml, output=table);
|
| (4) |