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

Allows to get the very last child item stored on the provided axlNode.

This function is similar to axl_node_get_last_child, but returning the last axlItem no matter its type.

This function is mainly used inside the MIXED API where nodes are expected to enclose content mixed with another xml nodes. See axl_node_get_last_child for more details.

Parameters
nodeThe axlNode reference that is required to return is last child reference (axlItem).
Returns
The axlItem reference or NULL if the axlNode is empty (axl_node_is_empty) and have no childs (axl_node_have_childs). The function also returns NULL if it fails (when it receives a NULL reference).

References axl_return_val_if_fail.