Create non-process-level XML files
As the report is processed through various filters on its path from the DVM to the final report output, the GRE creates XML output files. You can use these files to perform operations on the intermediary data, for example, to produce charts.
You can use the API function fgl_report_selectDevice("filetype") to output the data. filetype must be one of the following:
- Input XML: The XML as provided by the 4gl application. The Input XML file is identical to the files obtained by calling
fgl_report_createProcessLevelDataFile()
orfgl_report_setProcessLevelDataFile()
, as in Create a process-level XML data file. - Normalized XML: A normalized XML document in which the simple type values are shipped in "variable-value" elements in a separate "RTL-INPUT" namespace.
- Transformed XML: An XML document as it appears after a
report schema transformation (.rst) is applied. This option is only available when a design file has been specified in the call
to
fgl_report_loadCurrentSettings()
.Note: If there are no transformations, the Normalized XML and Transformed XML files are identical. - Document Model XML: The data that is used in the report
design. This option is only available when a design file has been specified in the call
to
fgl_report_loadCurrentSettings()
. - HLPXML: High level PXML. An XML document as it appears after an RTL transformation specified in a .4rp design file is applied.
- PXML: A document in the Genero Report Writer PXML
Expression language.
You can use the PXML file to provide content for the Rich Text Box.
Note: If there are no high-level PXML elements, the HLPXML and PXML files are identical.
For all options, the output file can be specified by the function fgl_report_setOutputFileName()
function.