bool axl_node_has_attribute_value ( axlNode node,
const char *  attribute,
const char *  value 
)

Convenience function that allows to check if a particular attribute with a particular value is found at the provided node.

This function will check if the attribute provided in the node is found and in such case, if the value that is contained inside the node is actually the same as the one provide to this function.

You can also use hits macro associated: HAS_ATTR_VALUE.

Parameters:
node The node that will be checked.
attribute The attribute to be checked.
value The value to checked if the attribute is found.
Returns:
true if the node has the attribute with the provided value.