Supported placeholders tags
- Last UpdatedSep 04, 2024
- 1 minute read
Placeholders
For each tag defined in the mapping file, a corresponding placeholder can be created to be placed into the template files.
The placeholder must have the syntax [%tagName%].
For example:
<dynsim> ® [%dynsim%]
<mwpl> ® [%dynsim%]
<rules> ® [%rules%]
Below are some samples of template files.
Bridge template file
An example of a Bridge template file.
<!-- ... -->
<dynsim simulation="IGCC4" simfullpath="C:\SIMSCI\DSS45\User\IGCC4.s4m" remoteStart="false" shutdownOnDisconnect="false" closeSimulationOnDisconnect="false" freezeOnDisconnect="false" useDataRouter="true" useScenarios="false" sendOnlyWhenRunning="true" firstDisconnect="false" useClientMessages="false">
<!-- not automatically generated content -->
<!-- ... -->
<!-- automatically generated content -->
[%dynsim%]
</dynsim>
<mwpl>
<!-- not automatically generated content -->
<!-- ... -->
<!-- automatically generated content -->
[%mwpl%]
</mwpl>
<rules>
<!-- not automatically generated content -->
<!-- ... -->
<!-- automatically generated content -->
[%mwpl%]
</rules>
<!-- ... -->
Shares template file
An example of a Shares template file.
<?xml version="1.0" encoding="utf-8" ?>
<ft type="script" version="1">
<!-- not automatically generated content -->
<!-- ... -->
<!-- automatically generated content -->
[%shares%]
</ft>
Patch template file
An example of a Patch template file.
<?xml version="1.0" encoding="utf-8"?> <dictionary>
<!-- not automatically generated content -->
<!-- ... -->
<!-- automatically generated content -->
[%patches%]
</dictionary>