Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Example Output of an RTF Template Fragment Script

You can create an RTF Template Fragment to return data from a model Script into an RTF Report.  The script must return one or more rows of data in the following XML format:







       <TimeGen>9:31 </TimeGen>


       <EA_REPOS>C:\Users\John\Documents\Sample Model.eap</EA_REPOS>







Each of these data fields in the XML (such as DateGen, TimeGen) refers to fields that can be included in the Custom section of an RTF Template Fragment.


If the text is a formatted Note, add  formatted="1" to the field row; for example: <Author formatted="1"><i>John</i></Author>

Learn more