axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
axlNode * axl_node_get_parent ( axlNode node)

Allows to get the parent xml node (axlNode) of the provided xml node reference.

nodeThe xml node that is requested to return its parent node.
An internal reference to the parent node, that must not be deallocated, or NULL if fails. The function will also return NULL if the node provided is the document root. The function could only fail if the provided reference is NULL.

References AXL_LEVEL_DEBUG, and axl_return_val_if_fail.