To create an XPath function using the Components window
-
If the Components window is not visible, select Window > Components from the Oracle JDeveloper menu bar.
-
In the Components window, select General XPath or Advanced XPath. Select a category of functions, for example, String Functions.
-
Drag the desired function from the Components window to the center canvas pane of the XSLT Map Editor.
-
Map the function to a target node by dragging a line from the function to the target node.
-
If the function requires parameters, edit the parameters using one of the methods discussed in How to Modify an Existing Function XPath Expression in the Canvas Pane.