Build Template (BLDTPL)
The BLDTPL command aids in composing RPG-XML Suite template (*.tpl) files. These are then converted using the CRTRPGTPL Command, which are in turn used with the Template/Composition Engine subprocedures (RXS_StartComposeEngine(), RXS_ComposeSection, RXS_ComposeVariable(), and RXS_GetComposeBuffer()) to compose XML documents.
Note: You will need to make manual modifications to the generated .tpl file prior to using it with the CRTRPGTPL Command.
Please follow our example on Creating an RXS Template to understand this process.
Parameters
IFS XML Location (IFSXMLLOC)
This is a required parameter.
Specify an IFS file path to the stream file containing your XML to build the template from. This must be a fully qualified file path.
Possible Values:
- character-value
- IFS path to XML file to build template from.
IFS Template Location (IFSTPLLOC)
This is a required parameter.
Specify an IFS file path to the location the generated .tpl file should be build. This must be a fully qualified file path.
Possible Values:
- character-value
- IFS path to create .tpl file at.
Indent Length (INDENT)
Specify how many spaces should be used when indenting the created .tpl file.
Possible Values:
- numeric-value
- Number of spaces used for indentation.