Skip to Content

XML to text file in Jitterbit Design Studio

Data can be transformed from any Jitterbit supported format to XML and vice versa. Before attempting to use an XML as a source or target you need to have a DTD or XSD definition file that represents the XML structure you wish to use uploaded to the Jitterbit server.

Create a new transformation

  • Make sure you have opened the appropriate project in which you want to store the new transformation.

  • There are several ways you can start to create a new transformation:

    • If you are working in an operation, you can click the Control button to the right of the Transformation field and select Create New.

    • Select New in the File menu, then choose New Transformation from the sub-menu; OR

    • Click the Down Arrow next to the file icon in the toolbar, then choose New Transformation from the sub-menu; OR

    • Right-click on Transformations in the hierarchical tree in the Design tab in the left pane of the screen, then choose New Transformation from the pop-up menu.

  • The transformation wizard appears in its own New Transformation tab in the right pane of the window.

Specify source and target types

  • Enter an appropriate name for your new transformation in the Transformation Name field.

  • Select XML from the Source drop-down menu and Text from the Target drop-down menu.

  • Click the Next button in the toolbar to continue.

Select source information (XML)

You have three options for loading your XML document. Click on the scenario that describes where your XML document's DTD/XSD file is located:

  1. You are using an XML document whose definition is already loaded into the software.

  2. You need to use an XML document whose definition has not yet been loaded into the software.

  3. You can upload an example XML document to have Jitterbit create the definition.

Select target information (text)

  • In the next screen of the Transformation Wizard, select an existing document definition that you want to hold the transformed text from the Text Document Definition drop-down menu, or click the control button to the right of the field to create a new document definition. See Creating a new text document definition or Creating a text document definition from a template file for additional information.

  • Click Save to save your work and exit out of the Transformation Wizard.

What's next?

Now that you have defined the nature of the source and your desired target, you are ready to map the relationship between your source and target at the field, or element, level.