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

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

This function is similar to axl_node_get_first_child, but returning the first 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_first_child for more details.

nodeThe axlNode reference that is required to return is first child reference (axlItem).
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.