To create an XPath function using the Components window

  1. If the Components window is not visible, select Window > Components from the Oracle JDeveloper menu bar.

  2. In the Components window, select General XPath or Advanced XPath. Select a category of functions, for example, String Functions.

  3. Drag the desired function from the Components window to the center canvas pane of the XSLT Map Editor.

  4. Map the function to a target node by dragging a line from the function to the target node.

  5. 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.