Randika
Randika

Reputation: 31

What is the version of Xpath expression supported by Wso2 ESB?

Wso2 esb is not support for some xpath functions like name() which required to use in default name spaces. Which version of Xpath expressions supported by the wso2 esb.

Upvotes: 0

Views: 347

Answers (2)

krishan
krishan

Reputation: 579

I found this Blog Entry:[WSO2 ESB] Enable XPath 2.0, Think this will be helpful to you.

Upvotes: 2

Philippe Sevestre
Philippe Sevestre

Reputation: 974

ESB supports XPath 1.0 out-of-the-box. In order to enable XPath 2.0 support you have to modify the ${ESB_HOME}/repository/conf/synapse.properties file as described in the following link:

https://docs.wso2.com/display/ESB481/Configuring+synapse.properties

You´ll create/edit the "synapse.xpath.dom.failover.enabled" and set its value to "true".

Upvotes: 0

Related Questions