Print Output Options XML - to Screen

  

DEVELOPER

This option enables you to send a report to the screen in XML or PDF format if a XML transform is used:

  1. Click on the Function Definition Properties icon.

  2. Click on the Spooler tab.

  3. In the Output Type field, select the XML - to Screen option.

The formatting of the output, as defined in the report function, is ignored.

The Fields in this Window:

Item

Description

Output Type

Select the XML to Screen option.

Client File

Enter a file type extension which the client will use to open the report. 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 field will send the report to a physical file called myreport.pdf and open it with the application associated with .pdf extension.

The field is limited to 250 characters, accepts free text, and has no validation.

XML Transform

Enter the name of the XSL file which transforms the XML into "human-readable" documents. 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 pro4v[n].ini file.

For example for a PROIV Windows installation, the pro4v[n].ini file entry is as follows:

[ENVIRONMENT]

PROIV_XSL=C:\Program Files\Zellis\PROIV Version 9\Virtual Machine\xsl

If the Client File and XML Transform fields are left empty, the raw XML is created and displayed in the associated XML viewer.

Alternate Tag Names

If no XML tag names are specified in the report definition, the PROIV generates generic tag names. Checking this box tells PROIV to use a different standard for the generic tag names.

Explicit Tag Names Only

Limits the XML output to those data elements that have explicitly defined XML tag names. This enables an existing PROIV report to be easily made to run in both XML mode and normal mode, with only the required elements output as XML.

Output Source Attribute

Outputs the source of the element as an attribute in the XML tag.

Don’t Indent Output

Normally, the XML output will be indented, to show nesting. Checking this turns the indenting off. It is important to note that this will have no impact on PDF printing.

Suppress Sequence Nos

This field is only displayed if the Output Type is XML. It is specifically suppresses the Sequence attribute for XML output. The attribute is automatically generated on all record elements and suppressing it for XML output ensures that the output can be used for other purposes such as versioning and differencing.

 

Comment on this topic

Topic ID: 500311