In my inSequence of a proxy I'm filtering with a xpath query in the filter mediator. But I want to use XPath functions like exists()
or count()
. But this does not work and always creates an exception. Here my example:
<filter xpath="count($body/myElement)>2">
<drop/>
</filter>
And the exception I always get:
ERROR - FilterMediator Error evaluating XPath expression : n:exists($body/avintis:Exception)
org.jaxen.UnresolvableException: No Such Function exists
How can I make these functions work?