Table of Contents

Search

  1. Preface
  2. Introduction to Data Transformation
  3. Data Processor Transformation
  4. Wizard Input and Output Formats
  5. Relational Input and Output
  6. XMap
  7. Libraries
  8. Schema Object
  9. Command Line Interface
  10. Scripts
  11. Parsers
  12. Script Ports
  13. Document Processors
  14. Formats
  15. Data Holders
  16. Anchors
  17. Transformers
  18. Actions
  19. Serializers
  20. Mappers
  21. Locators, Keys, and Indexing
  22. Streamers
  23. Validators, Notifications, and Failure Handling
  24. Validation Rules
  25. Custom Script Components

Data Transformation User Guide

Data Transformation User Guide

XmlToDocument_372

XmlToDocument_372

The
XmlToDocument_372
document processor converts XML data to document formats, such as PDF or Excel. You can use it as a post-processor to convert Parser or Mapper output to various document types.
This component uses the
Business Intelligence and Reporting Tool
(BIRT) Eclipse add-on to generate the output documents. In BIRT, you must configure a report that converts the XML to the desired document format. The
XmlToDocument_372
processor runs the report.
For more information about BIRT, see http://www.eclipse.org/birt.
To use BIRT version 4.5, use the
XmlToDocument_45
preprocessor instead of the
XmlToDocument_372
preprocessor.
The following table describes the properties of the
XmlToDocument_372
document processor:
Property
Description
param1
The path and file name of the BIRT
*.rptdesign
file. The
param1
property is named
report_file
and contains the property
value
, which contains the path and file name.
param2
The format of the output document. The
param2
property is named
output_format
and contains the property
value
, which has the following options:
  • pdf. PDF document.
  • doc. Microsoft Word document.
  • xls. Microsoft Excel workbook.
  • ppt. Microsoft PowerPoint presentation.
  • html. HTML web page.
  • ps. PostScript document.
Default is pdf.
param3
A variable that holds the location of the
*.rptdesign
file. The
param3
property is named
report_location
and contains the property
value
, which points to the variable. Default is
$VarServiceInfo/*s/ServiceLocation
.
value
Contains the value of
param1
,
param2
, or
param3
.
Effective in version 9.5.1, the
XmlToDocument
processor is deprecated. The IntelliScript editor still displays the
XmlToDocument
preprocessor in existing Scripts, but you can no longer add the preprocessor to new Scripts. Use the
XmlToDocument_372
preprocessor instead.


Updated September 26, 2018