Source and Run views

The Data Map Editor provides the following views for a mapping. You switch from one to the other using tabs at the bottom of the window:

  • Design: Design a map graphically (default view).
  • Source: View the generated XSLT code for a map (read-only).
  • Run: Run a simulation to validate a created map.

Design view

Click the Design tab to design your map graphically. This is the default view, it is described in Data Map Editor

Source view

Click the Source tab to view the generated XSLT code for the map you have designed on the Design view. This view is read-only.

Source view of mapping

Note   When you first create a map, the source code is generated for all mandatory elements. When you create links in the design view, the generated code is updated.
  • The generated code for optional target elements contains a test if instructions; therefore, if it is false the elements are not generated.
  • The generated code for mandatory target elements can have a value configured in the design view. If specified, it will contain the default value specified in the target schema or will contain no value.

Run view

With the Run view, you can run simulation to validate a created map.

Multiple inputs: the Run view presents one or several Inputs, and a single Output. 

  1. Click the Run tab.
  2. Select the Input file(s).
    • If you want to run a simulation to validate a map with multiple inputs, select input files for all input schemas.
    • The Run button will become enabled only after you provide the exact number of input files required to run the simulation.
    • For example, if the map contains three input schemas (as shown in the screenshot above), you must select three input files in the Run view.
  3. Click Run. The Input, Output, and Settings sections display the content of the selected Input file.
    • Input: (read-only) Displays the content of the input test message.
    • Output: (read-only) Displays the content of the output message (if the simulation is successful). If an error occurs (for example, incorrect input which has syntactical errors), an error message is displayed. In Settings, if Log debugging information is selected, the debug information is logged.
    • Settings: Allows you to edit the input and output message encodings. If parameters are defined in the map, their names and values display in the Parameters table.
  1. Click Open debugging log to view the debug, warnings, and error messages.
  2. In Settings, enter the values for each parameter in the table. This enables the simulation to run correctly.
  3. Select Log debugging information to view the trace information in the log file after each simulation.


Related Links