Choosing a transform to perform an arithmetic operation

In the Graphical Data Mapping editor, use the fn:sum or a Custom XPath transform to implement an arithmetic operation.

Procedure

Choose one of the following transforms to implement an arithmetic operation to set the value of an output element:

  • Use the fn:sum transform to calculate the sum of the values of multiple input elements.

    For more information, see fn:sum.

    This figure shows the fn:sum transform.

  • Use the Custom XPath transform to implement any of the following arithmetic operations: addition (+), subtraction (-), multiplication (*), division (div), or any combination of these operations.
    Note: You can only use as arguments of an arithmetic operation non-repeating simple type input elements.

    For more information, see Custom XPath.

    This figure shows the custom XPath transform used to perform an arithmetic operation.