Hi,

This is the XML result I got from my server.

<ns1:tag1 xmlns:ns1="http://samples.org";>
  <ns2:tag2 xmlns:ns2="http://samples.com";>
    <ns3:tag3 xmlns:ns3="http://samples.edu";>chanaka</ns3:tag3>
  </ns2:tag2></ns1:tag1>

Here I want to get the value "chanaka" from the xpath expression. I have
tried the following xpath expression but it didn't work.

//ns1:tag1/ns2:tag2/ns3:tag3

But when I declare all the namespaces at the root level, this expression
gave the result. This is related to the following[1] JIRA.

[1].https://wso2.org/jira/browse/ESBJAVA-2167

Any idea?


Cheers !!!

Chanaka
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to