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.

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