How to use xpath in camel when the outermost element has an xmlns attribute? <p>I am having some trouble using xpath to extract the "Payload" values below using apache-camel. I use the below xpath in my route for both of the example xml, the first example xml returns SomeElement and SomeOtherElement as expected, but the second xml seems unable to parse the xml at all. </p> <pre><code>xpath("//Payload/*") </code></pre> <p>This example xml parses just fine.</p> <pre><code>&lt;Message&gt; &lt;Payload&gt; &lt;SomeElement /&gt; &lt;SomeOtherElement /&gt; &lt;/Payload&gt; &lt;/Message&gt; </code></pre> <p>This example xml does not parse.</p> <pre><code>&lt;Message xmlns="http://www.fake.com/Message/1"&gt; &lt;Payload&gt; &lt;SomeElement /&gt; &lt;SomeOtherElement /&gt; &lt;/Payload&gt; &lt;/Message&gt; </code></pre> <p>I found a similar <a href="http://stackoverflow.com/questions/5856245/how-to-select-xml-root-node-when-root-node-has-attribute">question</a> about xml and xpath, but it deals with C# and is not a camel solution. </p> <p>Any idea how to solve this using apache-camel?</p>