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

Gets the attribute content for the provided attribute name, at the provided node, but translating entity references found.

This function works the same way like axl_node_get_attribute_value_copy, in the sense it returns a dinamically allocated copy for the attribute value requested but, at the same time, it returns the content with all entity references already translated.

Parameters
nodeThe axlNode instance where the attribute content will be returned.
attributeThe attribute name that is being requested.
Returns
The attribute content, already translated, for those entities found. The function returns a dinamilly allocated string so axl_free must be used.

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