Read XML

XML data sources ..

Steel Wheels has some data sources in XML format. This guided demonstration illustrates the 3 data source options for retrieving XML data.

In this Lab, you will configure the following step:

• Get data from XML

• File

• URL

• Stream

To create a new transformation

  1. In Spoon, click File > New > Transformation:

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

  • By clicking New, then Transformation

  • By using the CTRL-N hot key

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

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

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

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

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

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

  1. Click OK.

Last updated