function append_html($html) { $frag = $this->node->ownerDocument->createDocumentFragment(); $frag->appendXML($html); $this->node->appendChild($frag); }