XPATH woes

2014-11-13 Thread Gershaw, Geoffrey A.
Hi All, I'm trying to filter via xpath using the spring config. I'm running camel 2.12.3. An example msg Envelope xmlns=http://removed xmlns:bem=http:/removed xmlns:price=http://removed; messageId=xx schemaVersion=1.0 instanceId=xx publishMessageDtm=2014-11-13T22:27:07+00:00

Re: XPATH woes

2014-11-13 Thread Raul Kripalani
Your Envelope element is declared in a default namespace. Your XPath expression must use the namespace when referring to the element. Cheers. On 13 Nov 2014 22:32, Gershaw, Geoffrey A. geoffrey.gers...@credit-suisse.com wrote: Hi All, I'm trying to filter via xpath using the spring config.