Skip to content

XML Plug-in

This is a plug-in that expects a xml stream and returns a xml stream. It can be used in order to get strong typed and/or flattened XML. In order to use it a number of properties has to be set in the rpl file.

Report Plug-in Layout

Layout properties

The required layout properties for the xml plug-in:

Name Value
plugin-type XML
plugin-class ifs.application.reportingservices.impl.extendedformatter.xmlplugin.XMLPlugin
output-extension xml

Plug-in properties

This plug-in does not use the properties tag of the report plug-in layout.

Plug-in data

This plug-in does not use the data tag of the report plug-in layout.

Plug-in variables

This plug-in does not use the variable tag of the report plug-in layout.

Example

<?xml version="1.0" encoding="UTF-8"?>  
<report-layout>  
<properties>  
<version>0.1</version>  
<layout-type>XML</layout-type> <!--SCRIPT,XSL,XML,EXCEL-->  
<plugin-class>ifs.application.reportingservices.impl.extendedformatter.xmlplugin.XMLPlugin</plugin-class>  
<output-method>FILE</output-method> <!-- BINARY,FILE,E-MAIL-->  
<output-extension>xml</output-extension>  
<default-output-reference>  
<binary>\\user\ZebraGX4</binary>   
<file>FileName.xml</file>  
<file-sender>FILE_SENDER1</file-sender>  
<e-mail>firstname.lastname@something.com</e-mail>  
   <e-mail-sender>firstname.lastname@something.com</e-mail-sender>  
   <e-mail-cc></e-mail-cc>  
   <e-mail-subject>Email Subject</e-mail-subject>  
   <e-mail-body>  
<![CDATA[  
Email Body Content from the RPL  
]]>   
   </e-mail-body>  
</default-output-reference>  
 <full-xml>TRUE</full-xml>  
<flattened-xml>  
<enabled>TRUE</enabled>  
<strongtyping>TRUE</strongtyping>  
    </flattened-xml>  
<report-id>MODULE_REP</report-id>  
<report-title>RPL LAYOUT</report-title>  
</properties>  
<plugin>  
<properties>  
<!-- not used by this plugin -->  
</properties>  
<data>   
<!-- not used by this plugin -->  
</data>   
<variables>  
<!-- not used by this plugin -->   
</variables>  
</plugin>  
</report-layout>