camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: XPath namespaces in Spring DSL?
Date Fri, 15 Jun 2012 12:06:27 GMT
On Fri, Jun 15, 2012 at 1:58 PM, Andreas A. <andreasasmuss@gmail.com> wrote:

> Yeah I found and applied the example from the book.
>
> This works as long as there is actually a prefix in the xml. When there's
> only a default namespace the XPath-qeury returns nothing. It doesn't throw
> an exception like it normally would if the path was incorrect.
>
>
There is something about local() in the xpath expression you can use I
think.
To kinda refer to a local namepsace or something like that.

People on this forum have posted and talked about this in the past.

And I guess you can possible google something about that.


> --
> View this message in context:
> http://camel.465427.n5.nabble.com/XPath-namespaces-in-Spring-DSL-tp4556826p5714537.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message