set_xml_property_copy( node_state, XML_CIB_ATTR_EXPSTATE, join_state);
create_node_state(const char *uuid,		  const char *uname,		  const char *ccm_state,		  const char *crmd_state,		  const char *join_state){	xmlNodePtr node_state = create_xml_node(NULL, XML_CIB_TAG_STATE);	crm_debug("Creating node state entry for %s", uname);	set_uuid(node_state, XML_ATTR_UUID, uname);	set_xml_property_copy(node_state, XML_ATTR_UNAME, uname);	if(ccm_state != NULL) {		set_xml_property_copy(			node_state, XML_CIB_ATTR_INCCM, ccm_state);	}	if(crmd_state != NULL) {		set_xml_property_copy(			node_state, XML_CIB_ATTR_CRMDSTATE, crmd_state);	}	if(join_state != NULL) {		set_xml_property_copy(			node_state, XML_CIB_ATTR_JOINSTATE, join_state);	}	crm_xml_devel(node_state, "created");	return node_state;}