axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
axlNode * axl_node_get_previous_called ( axlNode node,
const char *  name 
)

Allows to get the previous node, preceding to the node provided, matching the given name.

NOTE: This function isn't XML Namespace aware. You must use axl_ns_node_get_previous_called instead. See axl_ns_doc_validate.

Parameters
nodeThe node that is requested to return its previous sibling node.
nameThe name to match for the previous node.
Returns
A reference to the previous node or NULL if it fails. The returned reference mustn't be deallocated.

References axl_node_get_previous(), axl_return_val_if_fail, and NODE_CMP_NAME.