node_copy = copy_xml_node_recursive(xml_node, 1); xmlAddChild(new_parent, node_copy);
if(xml_node != NULL && new_parent != NULL) { node_copy = copy_xml_node_recursive(xml_node, 1); xmlAddChild(new_parent, node_copy); } else if(xml_node == NULL) { cl_log(LOG_ERR, "Could not add copy of NULL node"); } else { cl_log(LOG_ERR, "Could not add copy of node to NULL parent"); }
add_node_copy(xmlNodePtr new_parent, xmlNodePtr xml_node){	xmlNodePtr node_copy = NULL;		FNIN();	node_copy = copy_xml_node_recursive(xml_node, 1);	xmlAddChild(new_parent, node_copy);	FNRET(node_copy);}