Jump to content
  • Extending XPath Functions


    Manoj Chaurasia

    The attached zip file has 2 items in it. One is a Java program that shows a template of how to create a custom XPath function (the function does a string replace using regular expressions.) The other is a TIBCO ActiveMatrix BusinessWorks? project (created in TIBCO Designer? 5.6) that uses the custom function.

    There is some very basic documentation on how to use the template to create your own custom functions (it is pretty straightforward) and the project shows how to add the Java class file into a project to make the functions available. I wrote it as an example for someone (as an aside, the project also has a replace string process definition that is built only using native XPath as well just for comparison) and thought it might be of general interest. If more information or instruction is needed, let me know and I'll update the example.

    AddingACustomXPathFunction.zip


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...