axlList * axl_node_get_childs ( axlNode node  ) 

Allows to get childs nodes for the given xml node (axlNode).

This function creates a newly allocated list. In the case a iterating over all childs for the provided node is its better to use the following:

 axlNode * child;

 // get the first child 
 child = axl_node_get_first_child (parent);
 
 // iterate over all nodes 
 while (child != NULL) {

    // do something with the child 
    do_some_work (child);
 
    // update the reference to the next child
    child = axl_node_get_next (child);   
 }

Parameters:
node The node where the childs will be returned.
Returns:
An axlList containing axlNode items or NULL if it fails. The list returned MUST be deallocated.