public function set($html_string) {
		$libxml_use_internal_errors = libxml_use_internal_errors(true);
		// workaround to handle UTF-8
		$this->loadHtml('<?xml encoding="UTF-8">' . $html_string);
		libxml_use_internal_errors($libxml_use_internal_errors);
		$this->xpath = new \DOMXPath($this);
	}