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

User Guide

User Guide

XmlToDocument_45

XmlToDocument_45

The
XmlToDocument_45
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) version 4.5 Eclipse add-on to generate the output documents. In BIRT, you configure a report that converts the XML to the desired document format. The
XmlToDocument_45
processor runs the report.
You can download BIRT from the location mentioned in the
readme_BIRT.txt
file at
<Data Transformation engine installation directory>/readme_Birt.txt
.
For more information about BIRT, see http://www.eclipse.org/birt.
The following table describes the properties of the
XmlToDocument_45
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
.

0 COMMENTS

We’d like to hear from you!