You can use the Expression Builder to include user-defined extension functions.
Create an XPath function.
Register the Jaxen XPath function with a Mediator service component in the xpath-function.xml file on the server.
Start Oracle JDeveloper.
Use the Expression Builder to customize the expression.
Deploy the Oracle JDeveloper project to Oracle WebLogic Server.
Copy the JAR file containing the user-defined extension functions to the $BEAHOME/user_projects/domains/soainfra/autodeploy/soa-infra/APP-INF/lib directory.
Modify the .mplan file of the project as follows:
Add the function namespace you defined for the extension functions under the Mediator element.
Add the function names under the Expression element.