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.
- Open a document in the PIX Correction activity.
-
Click on the button to the right of the field that requires Advanced Mapping.
A small window is displayed with additional settings.
-
Click on the
Advanced - edit rules
button.
The Advanced rule window is displayed in Nodes view.
-
Click
List
view.
A list of rules is displayed. - Select the Keep value rule.
-
Click
Nodes
view
A table is displayed showing a list of parameters. - Click in the field to the right of the Section field.
-
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.
-
Click
Map.
The selected node is displayed beside the Section field and the dashed outline is now yellow.
- Click on the empty field to the right of the originallocation field.
-
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.
-
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.
- If one of the originallocation values is preferred, enter it into the keepvalue field.
-
Click on the empty field to the right of the
otherlocation field.
The keepvalue looks here only if nothing was found in the originallocation.
-
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.
-
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.
-
Click
Close
.
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.