Build Template (BLDTPL)
The BLDTPL command aids in composing RPG-XML Suite template (*.tpl) files, which are used with the Template/Composition Engine subprocedures (RXS_InitTplEng(), RXS_WrtSection, RXS_UpdVar(), and RXS_GetBuffData()) to compose XML documents.
Please follow our example 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.