public function setDom(DOMElement $element) { $this->_element = $this->_element->ownerDocument->importNode($element, true); }