Configure Advanced Mapping

In some cases, the mapping between fields is more complicated than a one-to-one mapping. This is because the field may require formatting, depend on other values, or is a fixed value not present in the XML.

Using an Advanced Mapping replaces the Field View with the Advanced Rule View and an Advanced Rule-specific toolbar.

You can use Advanced Mapping for a field by following these steps.

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

    The Advanced rule window is displayed in Nodes view.

  4. Select one of the following advanced rules. Each rule has its own set of steps. Click a link below to follow its steps.
    Constant value

    A Constant value is a rule where whatever is typed is used as the field value.

    Find related node

    The Find a related node rule is used when an XML file has multiple nodes for the same XML tag. You can use this rule to ensure that the correct value is returned.

    Find related node (dv)

    This rule is similar to the "Find a related node" rule. However, you can provide a default value that is used if no result is found.

    Alternative node

    The Alternative node rule is used when the same field value is found in multiple locations. For example, the same telephone number may be listed in multiple locations. You can choose which of these values is extracted.

    Convert value

    The Convert value rule is used when the value required by validation rules or back-end processing is different to the value found on a document. In this case, you can specify the value expected on a document and then provide alternative values.

    Keep value

    The Keep value rule enables you to specify an XML node that is likely to have multiple values. You can specify which of those values you want to keep.

    Find related node 2

    This rule is similar to the" Find related node" rule, except that you can supply two search values. If one is not found, it looks for the other.