Contact Free trial Login

JXPath Extractor Transformer


Mule 3.6.0 includes support for version 3.0 of the XPath standard, which is compatible with XPath 2.0. As part of this upgrade, the JXPath extractor transformer has been deprecated in favor of the xpath3 function. For details, see XML Module Reference.

The JXPath extractor transformer evaluates an XPath expression against the current message and returns the result. By default, a single result will be returned. If multiple values are expected, set the singleResult property to false, which will return a list of values. This property is available for strings only (not XML nodes).

You configure the JXPath extractor transformer as follows:

<jxpath-extractor-transformer name="invoice" expression="/book/title" singleResult="false"/>

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.