This article will demonstrate how to write data to XML files using Pentaho Data Integration. In order to write to XML file we will be using the XML Output step. This XML Output step allows us to write rows from any source to one or more XML files.

In this article we will read records from database table and write as XML file output. Basically in this use case we will generate the same sample XML file that we used in the XML reading use case tutorial. To do

Transformation

Table input

XML Output

XML Output Content

XML Output Fields/Content Type

Execution results preview