axlNode * axl_node_get_parent ( axlNode node  ) 

Allows to get the parent xml node (axlNode) that is holding as child the provided xml node reference.

When a node holds childs, it is also created a parent relation from the child to the parent. This function allows to return that reference.

Parameters:
node The xml node that is requested to return its parent node.
Returns:
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.