axlNode * axl_node_get_next ( axlNode node  ) 

Allows to get the node that is located, at the same level, on the next position of the child list.

When a parent node holds more node childs, all of them have the same parent child, and at the same time, all of them have a brother relation. This relation makes that to nodes that are childs for a parent node, are positioned sequentially as childs for the parent.

This function allows to get the next childs that is stored at the next position, inside the same level, for the given child node.

There are an alternative API that allows to get the next node, following to the node selected, providing the name to match. See axl_node_get_next_called.

Parameters:
node The node to get the next xml node reference.
Returns:
Returns an internal reference to the next xml node or NULL if fails. The function will also return NULL if no next xml node is found starting from the provided reference. The root node will always returns a NULL reference.