On Mon, Sep 29, 2008 at 6:52 AM, Paul Fremantle <[EMAIL PROTECTED]> wrote:

> Harm
>
> Yes there is a way:
> Use this XPath, which ignores the namespace and searchs to any depth in
> the XML.
> //*[local-name()='token']
>
> Paul


Works like charm. thanks.

In the series of Xpaht questions...One more.
How to match the SOAP API function ?

soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:web="http://webservice.service.platform.boosttechhouse.com/";>
   <soapenv:Header/>
   <soapenv:Body>
      <web:Foo>    | <web:Bar>  | <web:SomeFunc>
           <param>someparam</param>

I want  "Foo"  or "Bar"   or "SomeFunc"  to be stored in a variable
(property).

I have fooled around with several xpath trials, name(), local-name() but I
don't seem to get my head around it.


Regards,
Harm
_______________________________________________
Esb-java-user mailing list
[email protected]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to