library/src/blockclass/subclasses/BP_StringUtils.cc
// this gets the xml root element
this gets the xml root element
this gets the xml root element
xmlNode * BP_StringUtils::xmlGetRootNodeElement()
{
	if(!this->xml_parsed_ok)
		return NULL;
	if(!this->xml_doc)
		return NULL;
	this->xml_root_node = xmlDocGetRootElement(this->xml_doc);
	return this->xml_root_node;
}
xmlNode * BP_StringUtils :: xmlGetRootNodeElement ( ) { if ( ! this -> xml_parsed_ok ) return NULL ; if ( ! this -> xml_doc ) return NULL ; this -> xml_root_node = xmlDocGetRootElement ( this -> xml_doc ) ; return this -> xml_root_node ; }
this gets the xml root element
this gets the xml root element
// ensure we have parsed xml // check that we have a xml doc pointer // return the xml root element // return with bad value