You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Dhanuja Natarajan <dh...@hcl.com> on 2010/10/12 08:03:42 UTC

Axis2C: how to use XPath on default namespace?

Hi,

We are using Axis2C 1.6 version.
We are able successfully execute XPath expression without namespace and with namespace prefix.
When we execute the expression with default namespace, it is failing.
We are creating the default namespace as follows
axiom_namespace_create(m_pEnv, "http://www.marketdata.com/service/Quote-4-0", "");
and registering it using axiom_xpath_register_namespace.

Is it correct? Or do we have to specify any prefix mapping?

Thank you,
Dhanuja