Using the XML configuration, is it possible to make <xpath> namespace agnostic ?

Rather than this Camel config (which works, since the XML has an
explicit namespace):

<camelContext xmlns="http://camel.apache.org/schema/spring";
xmlns:my="http://my.namespace";>
<route>  [...]
   <split>
     <xpath>//my:files</xpath>

I'd rather ignore the namespace in the XML completely and simply have
this (which isn't working because of the namespacing in the XML):

<camelContext xmlns="http://camel.apache.org/schema/spring";>
<route> [...]
   <split>
     <xpath>//files</xpath>


The XML being processed looks roughly like this:

<?xml version="1.0" ?>
    <request xmlns="http://my.namespace";>
        <files> ....

-Jeff

Reply via email to