Please note : This help page is for an older version of Enteprise Archtiect. The latest help can be found here.

Example Output of a Template Fragment Script

You can create a Template Fragment to return data from a Model Script into a document report. The Script must return one or more rows of data in this 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 a 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