WsSetNamespace
Specify the namespace associated with the web service response.
Syntax
bool WsSetNamespace (string prefix, string uri)
Parameters
- prefix
- The prefix for the namespace. Smart parameters are supported.
- uri
- The URI of the namespace. Smart parameters are supported.
Returns:
True, if the action succeeds. Otherwise, False.Level
All levels.Example
WsSetNamespace(""wb", "http://www.worldbank.org")
WsGetvalues("http://api.worldbank.org/countries?format=xml", "wb", "", "//wb:countries/wb:country[5]/wb:name", "@B.Country", "")