void axl_node_set_comment ( axlNode node,
char *  comment,
int  comment_size 
)

Allows to configure a new comment (<!-- xml comment -->) that will be stored as a child for the node provided.

The comment will be placed at the end of the current child list. So, if you want to place a xml comment before a xml node, call first to this function and the to axl_node_set_child.

Parameters:
node The node that will contain the comment.
comment The comment to be stored. The function will perform a copy from it.
comment_size The comment size or -1 to make the function to calculate it.