Creating Custom XPath Functions
Procedure
- Run TIBCO Business Studio from the Start menu. For example, select Start > All Programs > TIBCO_Home > TIBCO Business Studio N.N > Studio for Designers
- Select File > New > Project....
- In the New Project dialog under Plug-in Development, select Plug-in Project and click Next.
-
Specify a name for the project that reflects the XPath functions (for example, My Custom Functions).
Accept all other defaults and click Next.
-
On the Plug-in Content page, locate the Plug-in Options group, and select
This plug-in will make contributions to the UI.
- Accept all other defaults, and click Next.
- In the Templates page, select Custom XPath Function Wizard and click Next.
- In the Custom XPath Function Group dialog box, provide values:
-
Click
Next to continue.
The XPath Function Group Creation Section dialog is displayed. Here you specify the function and function parameters.
- Click the Add button located on the right side of the XPath Function table and provide values.
- Click the Add button located on the right side of the XPath Function Parameters table.
- Click Finish.
- TIBCO Business Studio opens the Open Associated Perspective dialog, which asks if you want to open the Plug-in Development perspective.
Copyright © Cloud Software Group, Inc. All rights reserved.