Building Modification Expressions for XML Data

Use the XML Mapping Conversion Editor dialog box to build expressions that alter XML data that you receive or send.

The XML Mapping Conversion Editor Dialog Box

The XML Mapping Conversion Editor dialog box, shown in the diagram below, consists of the following areas:

Accessing the XML Mapping Conversion Edit Dialog Box

  1. Access the Business Connect XML mapping utility.

  2. Right-click a transaction in the Trading Partner Tree and select Edit Transaction Map to display the transaction map.

  3. In the Target XML column of either the received map or the reply/sent map, right-click the element to modify and select Modify Mapping to display the XML Mapping Conversion Editor dialog box.

If the element you select has a source element mapped to it, the source element displays in the Operation Stack field. If the element is not mapped, the Operation Stack field is blank.

Building Expressions

All the available sources and operations to build an expression are listed the Sources field and the Operations field.

To add sources and operations to build expressions:

  1. Do one of the following to add a source or operation to the operation stack:

  1. If the source or operation you added requires additional properties, the associated properties dialog box displays when you add the source or operation to the operation stack. Enter those properties and click OK.

For additional information about entering additional properties, see the instructions for each source and operation type.

Note: If you need to change the properties of a source or operation, right-click the item in the operation stack and select Edit Additional Data.

  1. Do one of the following to move the source or operation in the operation stack:

  1. After completing the modification expression, click OK to return to the mapping utility main window.

  2. From the File menu, select Save Transaction Map to save the map and your modification expressions.

Removing Sources and Operations from Expressions

If you add a source or operation to an expression in error, you can remove the item from the operation stack.

To remove a source or operation from an expression:

  1. In the Operation Stack field, select the source or operation to delete.

  2. Right-click the item and select Remove.

The system removes the item from the operation stack. View the expression validation message at the bottom of the dialog box to verify the expression is still valid.

See Also:

Modifying Incoming and Outgoing XML Data Overview