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.
The required layout properties for the xml plug-in:
Name | Value |
---|---|
plugin-type | XML |
plugin-class | ifs.application.printagentservice.impl.extendedformatter.xmlplugin.XMLPlugin |
output-extension | xml |
Name | Type | Description |
---|---|---|
Encoding | {UTF-8,UTF-18,ISO-8859-1...} | Use any encoding type supported by java. See list here. Default value is UTF-8. |
This plug-in does not use the data tag of the report plug-in layout.
This plug-in does not use the variable tag of the report plug-in layout.
<?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.printagentservice.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>\\user\TEMPOUT</file> <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> <Encoding>UTF-8</Encoding> </properties> <data> <!-- not used by this plugin --> </data> <variables> <!-- not used by this plugin --> </variables> </plugin> </report-layout>