Data and Function Tabs

Use the tabs at the top of the context panel to select items to drag to the message panel.

Data and Function Tabs
Tab Description
Data Source Contains the schemas for the mediation flow properties, message flow context, and message data. This tab is selected by default when you view the Input tab. See Context Panel.
Functions Contains a set of XPath functions organized into related functional groups. XPath (XML Path Language) is an expression language developed by the World Wide Web Consortium (W3C). XPath functions perform data manipulation, such as mathematical functions, string manipulation, or logic operators.

You can select and drag XPath functions in this tab to the XPath expression field or to the Show Edit Tab dialog in the message panel.

Each function has help text to describe the function’s use and syntax. The help for the function is displayed below the function list in the Functions tab.

See TIBCO XPath Functions that describes the functions added by Mediation.

Constants Contains constants such as whitespace or symbol characters that can be used in XPath expressions.

When you drag data, a function, or a constant to the right-hand panel and hover over an existing expression in an XPath editing window, the background color of the text underneath the cursor changes. The new color indicates the result of placing the item at that point:

  • Light turquoise - The highlighted text is the first parameter of the dropped function.
  • Light pink - The dropped item replaces the existing text.
Note: As noted in Schema Components, data in schema components on the Data Source tab are not validated and checked against the types in the message schema. Therefore, data is coerced into an untyped string. The Constructor Functions on the Functions tab must be used on data to correctly evaluate most functions and operators.