XPath Expression
The XPath expression is used to create transformations on the Input tab of any activity.
You can drag and drop schema elements from the Data Source tab into the function’s placeholders.
XPath Builder Formula Elements
The following table shows the different elements of XPath Builder.
Elements | Description |
---|---|
Data Source | Displays the data source schema tree. All elements in this tree are available to drag and drop into the XPath Expression field. |
Functions | Displays the available XPath functions. These are categorized into groups and each function can be dragged from the function list into the
XPath Expression field.
When the function is placed into the XPath Expression, placeholders are displayed for the function’s parameters. You can drag and drop schema elements from the Data Source tab into the function’s placeholders. For more information about XPath functions, select XPath functions in XPath builder. The description of the function is displayed. |
Filter | Use this field for a refined function search in the mapper.
Clicking the Functions tab displays the Filter field. For example, type "time" in the Filter field to obtain consolidated results relating to "time" function. ![]() |
Constants | Displays the constants available for use in XPath expressions. These are categorized into groups and each constant can be dragged from the constants list into the
XPath Expression field.
Constants are useful for inserting special characters, such as quotes, symbols, and so on, into XPath formulas. Constants are also defined for commonly used items, such as date/time formats. Constants can also be used for inserting the following TIBCO BW Predefined Module Properties.
|
Documentation Panel | Describes each selected function.
On clicking a function on the Function tab, the documentation panel gives a brief description of the selected function with one or more examples. |
XPath Expression | Displays the XPath formula you want to create.
You can drag and drop items from the Data Source tab or the Functions tab to create the formula. |