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.

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.

If the attribute content has &, <, etc, this function will translate them into the corresponding values.

Parameters:
node The axlNode instance where the attribute content will be returned.
attribute The 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.