WSO2 BPS - Extensions - XPath Extensions

XPath Extensions


WSO2 BPS extends the default XPath coverage provided by the WS-BPEL specification mostly by adding support for XPath 2.0 and by offering a few utility extension functions to make some assignments easier.

XPath 2.0

To use XPath 2.0 in processes, use the following queryLanguage and expressionLanguage attributes:


To make the XPath 2.0 default for the process, add these attributes to the root process element. If you want to stick with XPath 1.0 but want XPath 2.0 support for a specific assignment, you can also define these attributes on an assign element.

Extension Functions

All extension functions are defined in the ODE extension namespace: This namespace will be associated with the ode prefix in the following examples.