Skip to main content Skip to complementary content

Creating the output structure

Create the XML output structure using the existing input structure.

About this task

This output structure is split into three elements that each contain the same elements as the input structure. This will allow the map to filter the results and write them to three different output files.

Procedure

  1. In the Data Mapper tab, expand the Hierarchical Mapper node and right-click Structures.
  2. Click New > Structure.
  3. Select Create a new structure where you manually enter elements and click Next.
  4. Enter a name for your structure, readings_output for example.
  5. Select the XML representation and click Finish.
    Your structure is created and opens in the editor.
  6. Right-click the left section of the editor and click New Element, then enter a name for the element, root for example.
  7. Right-click root and click New Element to add an element named valid.
  8. In the properties of the valid element, scroll down to the Inherits From property and click the […] button to the right of the field.
  9. Expand you project and select Structures > readings_input.
    The elements in the input structure are added under the valid element.
  10. Right-click the valid element and click Copy.
  11. Right-click the root element and click Paste. Repeat this step to create a third element under root.
  12. Click valid[2] and valid[3] and edit their names to invalid and cleansed, respectively.
  13. Press Ctrl + S to save your structure.

Results

Your output structure is created and should look like this:

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!