Map an Alternative Node

Use this rule when there are multiple entries for the same XML tag in the XML file. The first instance of the node that you assign as the originalnode is returned unless this value is blank. When this value is empty, the first instance value for the alternativenode is returned.

You can configure the "Alternative 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 Alternative 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 on the empty field to the right of the originalnode field.

    This value is returned unless there is no value for this node. Otherwise the alternativenode value is returned.

  10. 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.
  11. Click Map.
    The selected node is displayed beside the originalnode field, a list of possible matches is displayed in the third column of the table, and the dashed outline is now yellow.
  12. Click on the empty field to the right of the alternativenode field.
  13. 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.
  14. Click Map.
    The selected node is displayed beside the alternativenode field, a list of possible matches is displayed in the third column of the table, and the dashed outline is now yellow.
  15. 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.