How to Use Domain Value Map Functions in XPath Expressions

You can use the domain value map functions to create XPath expressions in the Expression Builder dialog. You can access the Expression Builder dialog through the Filter Expressions or the Assign Values functionality of an Oracle Mediator service component.

For information about the Assign Values functionality, see How to Assign Values.

To use the lookupValue function in the Expression Builder dialog:

  1. In the Functions list, select DVM Functions.
  2. Double-click the dvm:lookupValue function to add it to the expression field.
  3. Specify the various arguments of the lookupValue function. For example:
    dvm:lookupValue('citymap.dvm','CityCodes',$in.Customer/inp1:Customer/Address/Ci
    ty,'CityNames','NotFound')
    

    This expression, also shown in Figure 45-10, looks up a domain value map for the city name equivalent of a city code. The value of the city code depends on the value specified at runtime.

Figure 45-10 Domain Value Map Functions in the Expression Builder Dialog

Description of Figure 45-10 follows
Description of "Figure 45-10 Domain Value Map Functions in the Expression Builder Dialog"