This content has been marked as final.
Show 1 reply
-
1. Re: Prefix in XPath Expression in drl
beve Jan 21, 2009 5:04 AM (in response to poyge394)Hey Poyan,
you mean a namespace prefixes right?
You need to use something like the fun_cbr quickstart does:rule "Blue Routing Rule using XPATH"
when
xpathEquals expr "/order:Order/@statusCode", "0" use namespaces "order=http://org.jboss.soa.esb/Order"
then
Log : "Blue Team";
Destination : "blue";
end
You can have multiple namespace prefixes using the form "prefix=uri,prefix=uri" .
regards,
/Daniel