#define NODE_CMP_NAME ( node,
name   )     (axl_cmp ((node != NULL) ? axl_node_get_name(node) : "><", (name != NULL) ? name : "<>"))

Allows to easily check that the given xml node (axlNode) have the provided name.

This macro is provided as a convenience to check that a particular node have a particular name. Check the documentation that this macro is wrapping to get examples: axl_node_get_name.

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

Parameters:
node The axlNode where the name will be compared with the provided value.
name The name to compare.
Returns:
true if names are equal or false if not.