public function combinexml(SimpleXMLElement $new_child)
    {
        $node1 = dom_import_simplexml($this->_SimpleXmlElement);
        $dom_sxe = dom_import_simplexml($new_child);
        $node2 = $node1->ownerDocument->importNode($dom_sxe, true);
        $node1->appendChild($node2);
    }
public function combinexml(SimpleXMLElement $new_child)
    {
        $node1 = dom_import_simplexml($this->_SimpleXmlElement);
        $dom_sxe = dom_import_simplexml($new_child);
        $node2 = $node1->ownerDocument->importNode($dom_sxe, true);
        $node1->appendChild($node2);
    }
public function combinexml ( SimpleXMLElement $ new_child ) { $ node1 = dom_import_simplexml ( $ this -> _SimpleXmlElement ) ; $ dom_sxe = dom_import_simplexml ( $ new_child ) ; $ node2 = $ node1 -> ownerDocument -> importNode ( $ dom_sxe , true ) ; $ node1 -> appendChild ( $ node2 ) ; }
append a xml-tree to another xml-tree

@param SimpleXMLElement $new_child child that should be appended

@return Void
append a xml - tree to another xml - tree