NonStop SOAP 4.1 User's Manual
axiom_node_get_node_type
Synopsis:
AXIS2_EXTERN axiom_types_t axiom_node_get_node_type
( axiom_node_t * om_node,
const axutil_env_t * env )
Description:
This function gets the node type of this element Node type can be one of AXIOM_ELEMENT,
AXIOM_COMMENT, AXIOM_TEXT, AXIOM_DOCTYPE, AXIOM_PROCESSING_INSTRUCTION.
Parameters:
om_node
node of which node type is required
env
is a pointer to the environment struct. The env parameter must not be NULL.
Return Values:
This function returns the node type.
axiom_node_get_data_element
Synopsis:
AXIS2_EXTERN void* axiom_node_get_data_element
( axiom_node_t * om_node,
const axutil_env_t * env )
Description:
This function gets the structure contained in the node IF the node is on type AXIOM_ELEMENT ,
this method returns a pointer to axiom_element_t structure contained.
Parameters:
om_node
node of which node type is required
env
is a pointer to the environment struct. The env parameter must not be NULL.
Return Values:
This function returns a pointer to structure contained in the node returns NULL if no structure is
contained.
Synopsis:
AXIS2_EXTERN struct axiom_document* axiom_node_get_document
( axiom_node_t * om_node,
const axutil_env_t * env )
Description:
This function returns the associated document, only valid if built using builder and for a node of
type AXIOM_ELEMENT returns NULL if no document is available.
Parameters:
om_node
pointer to the AXIOM node structure
env
is a pointer to the environment struct. The env parameter must not be NULL.
Return Values:
This function returns the AXIOM document of the node.
340 NonStop SOAP 4 APIs










