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

Gets an allocated copy for the value associated to the given attribute.

See axl_node_get_attribute_value for more information. This function works the same way but returning an already allocated attribute value.

nodeThe node where the attribute value is requested.
attributeThe attribute that is being requested.
A newly allocated reference that must be deallocated when no longer needed calling to axl_free.

References axl_node_get_attribute_value(), axl_return_val_if_fail, and axl_strdup().