Hi,

The Xpath processor in Camel is namespace-aware.

If you use DSL you can do the following

    Namespaces ns = new Namespaces("c", "http://acme.com/cheese";);
    from("direct:start").filter().
        xpath("/c:pers...@name='James']", ns).
        to("mock:result");

For more details, please check out
http://camel.apache.org/xpath.html http://camel.apache.org/xpath.html 

Cheers,

Ashwin...

-----
---------------------------------------------------------
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com http://fusesource.com 

Blog: http://opensourceknowledge.blogspot.com.com
http://opensourceknowedge.blogspot.com 
---------------------------------------------------------
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Some-camel-questions-tp2806185p2806283.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to