NonStop SOAP 4.1 User's Manual

Return Values:
This function returns the status of the op. AXIS2_SUCCESS on success else AXIS2_FAILURE.
axiom_element_get_attribute
Synopsis:
AXIS2_EXTERN axiom_attribute_t* axiom_element_get_attribute
( axiom_element_t * om_element,
const axutil_env_t * env,
axutil_qname_t * qname )
Description:
This function gets (finds) the attribute with the given qname.
Parameters:
element
element whose attribute is to be found.
env
is a pointer to the environment struct. The env parameter must not be NULL.
Return Values:
This function returns a pointer to the attribute with given qname if found, else returns NULL. On
error, returns NULL and sets the error code in environment's error structure.
axiom_element_get_attribute_value
Synopsis:
AXIS2_EXTERN axis2_char_t* axiom_element_get_attribute_value
( axiom_element_t * om_element,
const axutil_env_t * env,
axutil_qname_t * qname )
Description:
This function gets (finds) the attribute value with the given qname.
Parameters:
element
element whose attribute value is to be found.
env
is a pointer to the environment struct. The env parameter must not be NULL.
qname
qname of the attribute to be found. should not be NULL.
Return Values:
This function returns the attribute value with given qname if found, else returns NULL. On error,
returns NULL and sets the error code in environment's error structure.
axiom_element_free
Synopsis:
AXIS2_EXTERN void axiom_element_free
( axiom_element_t * element,
const axutil_env_t * env )
Description:
This function frees the given element.
Parameters:
element
AXIOM element to be freed.
AXIOM APIs 325