XML Report Post Processing |
DEVELOPER |
PROIV supports the transformation of XML reports with an XSL transform and the rendering of the documents on a PROIV Client workstation. This functionality is available for Report Functions only and is set on the Spooler tab of the Function Definition screen and is also supported in logic with the SET_RPTOPT logic command.
You can specify the file extension of the application that you want to render the document with. For example, entering .pdf opens the report the program associated with the .pdf file extension.
You can also enter the name of the physical file which is output to the PROIV Client. For example, entering myreport.pdf in the Client File field will send the report to a physical file called myreport.pdf and open it with the application associated with .pdf extension.
You control the transformation process by entering the name of the XML transform file in the XML Transform field. The XSL files must be stored on the server in the directory specified by the environment variable PROIV_XSL (or in the default /xsl directory) if they are to be found at runtime. The PROIV_XSL environment variable is set in the PROIV Dashboard.
Note: If the XML Transform field is left empty, raw XML is sent to the associated XML viewer and no transformation of the content occurs. |
Note: XML report post processing is also used by PROIV to produce PDF reports for many PROIV Objects. |
PROIV also supports the transformation of XML reports with an XSL transform and the creation of the output file to a server location, without opening the report in an associated application. In other words, the kernel processes the specified XSL transform file and creates a file on the server. The XSL files must be stored on the server in the directory specified by the environment variable PROIV_XSL (or in the default /xsl directory) if they are to be found at runtime. The PROIV_XSL environment variable is set in the PROIV Dashboard.
This functionality is available for Report Functions only. It is set on the Spooler tab of the Function Definition screen, and is also supported in logic with the SET_RPTOPT logic command.
Print Output Options XML - to Screen explains the fields on the Spooler tab when the Output Type is set to XML - to Screen.
XML - to Screen Spooler Option Demo explains how to set up the Spooler Options in order to send a report to screen in PDF format.
Print Output Options XML - to Physical File explains the fields on the Spooler tab when the Output Type is set to XML - to Physical File.
SET_RPTOPT discusses how XML report post processing can be achieved in logic.
PROIV Objects to PDF provides an overview of the PROIV Objects to PDF functionality.
Topic ID: 500522