Read XML

XML data sources ..

Workshop - Read XML

Get Data from XML

Create a new Transformation

Any one of these actions opens a new Transformation tab for you to begin designing your transformation.

  • By clicking File > New > Transformation

  • By using the CTRL-N hot key

Read XML
1KB
Open

XML - File

In this workflow, an XML file is parsed via an X-path to retrieve the required dataset.

Get data from XML - file
orders.xml

Get data from XML

This step provides the ability to read data from any type of XML file using XPath specifications.

  1. Start Pentaho Data Integration.

Windows - PowerShell:

Linux:

  1. Drag the ‘Get data from XML’ step onto the canvas.

  2. Double-click on the step, and configure the following properties:

XML - file
  1. Click on the Content tab, and configure the following properties:

XPath
  1. Click on the Fields tab, and then on the ‘Get Fields’ button.

XML - fields
  1. Click OK.

Last updated

Was this helpful?