XPATH

The XPATH math variable is part of a math syntax that can parse XML by variable name and extract its value into a math variable. It is used in conjunction with a math variable with the XMLdatatype, which allows OIPAto treat an XML string returned from an external source as an XML object. The XPATH math variable will parse through the stored XML as a source object for the data element name and return the value from the XML.

Important   This math variable is most effectively used in situations where an external call is received by OIPA and provides information that needs to be parsed. It is not recommended for general configuration.

Configuration Considerations

The supported data types for XPATH are DATE, TEXT, INTEGER and DECIMAL. The SOURCEattribute is required and should be a math variable with a data type of XML. Each value that needs to be extracted from the SOURCE math variable will require a separate call to the XPATH math variable.

The CURRENCY data type is not supported with XPATH. To create a math variable with a CURRENCY data type, three steps must performed.

  1. Extract the numeric value from XML.
  2. Extract the currency code from XML.
  3. Use ToCurrency to combine the numeric value and the currency code to create a CURRENCY data type.

Define the XPATH Math Variable

Drag and drop the XPATH math variable from the Palette window onto the Math pane. Enter the following information for the math variable.

Check-in the transaction to save the information to the database.

     
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. About Oracle Insurance | Contact Us