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. Using the IntelliScript Editor
  7. XMap
  8. Libraries
  9. Schema Object
  10. Command Line Interface
  11. Scripts
  12. Parsers
  13. Script Ports
  14. Document Processors
  15. Formats
  16. Data Holders
  17. Anchors
  18. Transformers
  19. Actions
  20. Serializers
  21. Mappers
  22. Locators, Keys, and Indexing
  23. Streamers
  24. Validators, Notifications, and Failure Handling
  25. Validation Rules
  26. 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