axis-c-user  

Re: "Localname" of attribute value

Thomas Baier
Wed, 06 Jan 2010 22:37:59 -0800

Damitha Kumarage schrieb:
> Thomas Baier wrote:
>> Hi,
>>
>> when using "anyType" as a parameter, type information about the value
>> passed is included as an attribute, e.g. in the soap message
>>
>>        <pData xsi:type="xsd:double">3.1415</pData>
>>
>> I can get the type attribute using axiom_element_get_attribute(), but
>> the attribute's value is "xsd:double". How can I get the localname
>> "double" (without simple string parsing). Is there any utility function
>> to split a qname into namespace and localname?
> AFAIK no

What is the recommended way to find out the concrete data type of the
values for anyType?

Best,
Thomas