Keep and Map a Value

If you have multiple values for an XML node, you can specify the value that is kept.

You can configure the "Keep value" rule by following these steps.

  1. Open a document in the PIX Correction activity.
  2. Click on the button to the right of the field that requires Advanced Mapping.
    A small window is displayed with additional settings.
  3. Click on the Advanced - edit rules Advanced Mapping - XSL icon button.

    The Advanced rule window is displayed in Nodes view.

  4. Click List view.
    A list of rules is displayed.
  5. Select the Keep value rule.
  6. Click Nodes view
    A table is displayed showing a list of parameters.
  7. Click in the field to the right of the Section field.
  8. Locate the corresponding XML node in the XML View and click on it.
    The entire node is surrounded with a light-blue dashed box and the Map button is displayed.
  9. Click Map.
    The selected node is displayed beside the Section field and the dashed outline is now yellow.
  10. Click on the empty field to the right of the originallocation field.
  11. Locate the corresponding XML node in the XML View and click on it.
    The entire node is surrounded with a light-blue dashed box and the Map button is displayed.
  12. Click Map.
    The selected node is displayed beside the originallocation field and the dashed outline is now yellow. A list of available values is also displayed.
  13. If one of the originallocation values is preferred, enter it into the keepvalue field.
  14. Click on the empty field to the right of the otherlocation field.
    The keepvalue looks here only if nothing was found in the originallocation.
  15. Locate the corresponding XML node in the XML View and click on it.
    The entire node is surrounded with a light-blue dashed box and the Map button is displayed.
  16. Click Map.
    The selected node is displayed beside the otherlocation field and the dashed outline is now yellow. A list of available values is also displayed.
  17. Click Close Close icon.
    Your changes are saved as you make them.
    The default Field view is displayed and if the advanced mapping finds a value, the field is populated with that value.