That gives: "Envelope" I need to go 3 levels deeper. Harm
On Tue, Sep 30, 2008 at 2:46 PM, Paul Fremantle <[EMAIL PROTECTED]> wrote: > Harm > > Try > local-name(/*) > > Paul > > Harm Verhagen wrote: > > > > > > On Mon, Sep 29, 2008 at 6:52 AM, Paul Fremantle <[EMAIL PROTECTED] > > <mailto:[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 > > -- > Paul Fremantle > CTO and Co-Founder, WSO2 > OASIS WS-RX TC Co-chair > VP, Apache Synapse > > Office: +44 844 484 8143 > Cell: +44 798 447 4618 > > blog: http://pzf.fremantle.org > [EMAIL PROTECTED] > > "Oxygenating the Web Service Platform", www.wso2.com > > _______________________________________________ > Esb-java-user mailing list > [email protected] > http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user >
_______________________________________________ Esb-java-user mailing list [email protected] http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
