Find a Related Node

Use this type of advanced rule when there are multiple values on a document that could be the field value. By applying this rule, you ensure that the value you want is extracted.

Tip If you want to provide a default value in case no value is found with this rule, use the "Find a related node (dv)" rule instead. This enables you to provide a default value.

You can configure the "Find a related node" rule by following these steps.

  1. Open a document in PIX Correction.
  2. Click on the button to the right of the field that requires Advanced Mapping.
    A small window is displayed with additional options.
  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 Find a related node rule.
  6. Click Nodes view
    A table is displayed showing a list of parameters.
  7. Click in the empty 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.
  10. Click on the empty field to the right of the searchlocation field.
    The selected node is displayed beside the Section field and the dashed outline is now yellow.
  11. Locate the corresponding XML node or tag 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 searchlocation field, a list of possible matches is displayed in the third column of the table, and the dashed outline is now yellow.
  13. Enter a value into the searchvalue field that will filter the results.

    For example, if you are searching for a specific customer number that always starts with a unique code, enter that code. All other numbers that do not contain this code are ignored.

  14. Click on the empty field to the right of the relatednode field.
    If the related node value exists, this is the value that is returned.
  15. Locate the corresponding XML node or tag 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 relatednode field, a list of possible matches is displayed in the third column of the table, and the dashed outline is now yellow.
  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.