public function addXML($xml)
    {
        $next_elem = $this->createDocumentFragment();
        $next_elem->appendXML($xml);
        $this->doc->appendChild($next_elem);

    }
public function addXML($xml)
    {
        $next_elem = $this->createDocumentFragment();
        $next_elem->appendXML($xml);
        $this->doc->appendChild($next_elem);

    }
public function addXML ( $ xml ) { $ next_elem = $ this -> createDocumentFragment ( ) ; $ next_elem -> appendXML ( $ xml ) ; $ this -> doc -> appendChild ( $ next_elem ) ; }
Adds an arbitrary XML string to the packet's root node
@param string $xml
Adds an arbitrary XML string to the packet s root node