char * axl_node_get_content_copy ( axlNode node,
int *  content_size 
)

Allows to get a copy for the content stored inside the given axlNode reference.

This function works the same way than axl_node_get_content but returning a copy from the internal content, that the caller is responsible of deallocating it.

Parameters:
node The axlNode where the content is being required.
content_size An optinal reference to an integer variable where the content size will be returned. The function will return the content size (if the variable is defined) ranging from 0 up to the content size.
Returns:
A newly allocated string representing the node content.