xmlNodePtr cib = NULL; xmlNodePtr fragment = NULL;
crm_data_t *cib = NULL; crm_data_t *fragment = NULL;
createCibFragmentAnswer(const char *section, xmlNodePtr failed){	xmlNodePtr cib = NULL;	xmlNodePtr fragment = NULL;		fragment = create_xml_node(NULL, XML_TAG_FRAGMENT);	if (section == NULL		   || strlen(section) == 0		   || strcmp(XML_CIB_TAG_SECTION_ALL, section) == 0) {		cib = get_the_CIB();		if(cib != NULL) {			add_node_copy(fragment, get_the_CIB());		}			} else {		xmlNodePtr obj_root = get_object_root(section, get_the_CIB());		if(obj_root != NULL) {			cib      = create_xml_node(fragment, XML_TAG_CIB);			add_node_copy(cib, obj_root);			copy_in_properties(cib, get_the_CIB());		} 	}	if (failed != NULL && failed->children != NULL) {		add_node_copy(fragment, failed);	}			set_xml_property_copy(fragment, XML_ATTR_SECTION, section);	set_xml_property_copy(fragment, "generated_on", cib_our_uname);	return fragment;}