When you drag functions from the
Functions tab to the XPath Expression window, the function shows markers in double angle brackets (for example,
<<string>>) for completing the function. You can drag data components and constants from the
Data Source or
Constants tab to complete the function. You can also type in the XPath Expression window to replace the markers manually.
The XPath Editor Window
Procedure
Click the XPath Expression field next to the landmark element in the target operation message schema.
The field expands to a larger text box so that you can edit the expression easily.
Click the
Functions tab on the at the top of the context panel.
Expand the String functions folder in the functions list and locate the subtring-before function.
Drag the
substring-before function into the XPath Expression window.
In the example, you would replace the
<<before-string>> marker with a comma and then drag the nearAddress element onto the
<<string>> marker. The image shows dragging the data components into an XPath function.
Dragging a data element into a function
More complex transformations are possible with the features available in the
Input tab.