NonStop SOAP 4.1 User's Manual
Description:
This function creates a node struct.
Parameters:
env
is a pointer to the environment struct. The env parameter must not be NULL.
Return Values:
This function returns a pointer to newly created node struct. NULL on error.
axiom_node_free_tree
Synopsis:
AXIS2_EXTERN void axiom_node_free_tree
( axiom_node_t * om_node,
const axutil_env_t * env )
Description:
This function frees an AXIOM node and all of its children. Please note that the attached
data_element will also be freed along with the node. If the node is still attached to a parent, it
will be detached first, then freed.
Parameters:
om_node
node to be freed.
env
is a pointer to the environment struct. The env parameter must not be NULL.
Return Values:
This function returns the status of the op. It returns AXIS2_SUCCESS on success, else returns
AXIS2_FAILURE.
Synopsis:
AXIS2_EXTERN axis2_status_t axiom_node_add_child
( axiom_node_t * om_node,
const axutil_env_t * env,
axiom_node_t * child )
Description:
This function adds a given node as child to parent. child should not have a parent if child has
a parent it will be detached from existing parent.
Parameters:
om_node
parent node. cannot be NULL.
env
is a pointer to the environment struct. The env parameter must not be NULL.
child
child node.
Return Values:
This function returns the status of the operation. It returns AXIS2_SUCCESS on success, else returns
AXIS2_FAILURE.
axiom_node_insert_sibling_after
Synopsis:
AXIS2_EXTERN axis2_status_t axiom_node_insert_sibling_after
( axiom_node_t * om_node,
336 NonStop SOAP 4 APIs










