XML Data Viewer

The XML data viewer displays the xml-based contents of the Data Sample that is currently active within the data mapping configuration in a tree view, with XML fields displayed at each level of the Sample Record.

Data Viewer Controls

The following controls appear at the top of the Data Viewer:

  • Hide/Show datamap: Click to show or hide the icons to the left of the data viewer that displays how the steps affect the line.
  • Hide/Show extracted data: Click to show or hide the extraction selections indicating that data is extracted. This simplifies making data selections in the same areas and is useful to display the original data.
  • Lock/Unlock extracted data: Click to lock existing extraction selections so they cannot be moved or resized. This simplifies making data selections in the same area.
  • Zoom Level: Use the arrows to adjust the zoom level, or type in the zoom percentage.
  • Zoom In (CTRL +): Click to zoom in by increments of 10%
  • Zoom Out (CTRL -): Click to zoom out by increments of 10%

Additional keyboard shortcuts:

  • + (while on an XML node with children): Expand the XML Node
  • - (while on an XML node with children): Collapse the XML node, hiding all its children nodes.

Creating a data selection

Selecting data is done by clicking on a starting XML field within the grid, keeping the mouse button down, dragging to the end field and releasing the button. This creates a data selection that can contain multiple fields on the same XML node level.

Manipulating a data selection

Once created, data selections can be modified and moved. Moving a new data selection can be done directly if the data selection is new. Data selections that are attached to a field extraction in an Extract Step can also be modified by double-clicking on the data selection in the Data Viewer and then modifying the data selection.

Creating Steps from a data selection

When a new data selection is made in the Data Viewer, create your data selection and select which step to add based on that data selection. There are 3 methods to add the appropriate step:

  • Click on the appropriate step button in the Toolbars.
  • Use the appropriate keyboard shortcut (F6 to F11)
  • Right-click on the data selection and select the appropriate step.

Available Steps:

  • Extract Step: Extracts data from the data selection. If the selection contains multiple fields, rows, columns or lines, each element creates a distinct Extract Field and displays the extracted value in a field in the Record Pane.
  • Goto Step: Moves the pointer to the beginning of the data selection. If the selection contains multiple fields, rows or lines, the topmost element is used for the new pointer location.
  • Condition Step: Creates a condition using the currently selected data. For instance, selecting a dot(.) will make the condition True whenever the dot is found on the line. Note that conditions are done on the current line, either the current cursor position, or the current line in a Repeat step.
  • Repeat Step: Creates a loop using the currently selected data. The repeat starts at the current pointer location and continues until the last line, row or node of the data selection.

    If an XML node that has children is selected, and the pointer is currently at this node, creating a repeat step will loop on that node.

  • Add Extract Field: Only active when an Extract Step is currently selected in the Extractor Pane. Adds the currently selected data locations to the Extract Step as new Extract Fields. If the selection contains multiple fields, rows, columns or lines, each element creates a distinct Extract Field and displays the extracted value in a field in the Record Pane.
  • Action Step: Creates an Action step.

Table of Contents

Index

Glossary

-Search-

Back