public function getHtmlBody()
    {
        $xpath = new DOMXPath($this->_doc);
        $bodyNodes = $xpath->query('/html/body')->item(0)->childNodes;

        $outputFragments = array();
        for ($count = 0; $count < $bodyNodes->length; $count++) {
            $outputFragments[] = $this->_doc->saveXML($bodyNodes->item($count));
        }

        return implode($outputFragments);
    }
public function getHtmlBody()
    {
        $xpath = new DOMXPath($this->_doc);
        $bodyNodes = $xpath->query('/html/body')->item(0)->childNodes;

        $outputFragments = array();
        for ($count = 0; $count < $bodyNodes->length; $count++) {
            $outputFragments[] = $this->_doc->saveXML($bodyNodes->item($count));
        }

        return implode($outputFragments);
    }
public function getHtmlBody ( ) { $ xpath = new DOMXPath ( $ this -> _doc ) ; $ bodyNodes = $ xpath -> query ( '/html/body' ) -> item ( 0 ) -> childNodes ; $ outputFragments = array ( ) ; for ( $ count = 0 ; $ count < $ bodyNodes -> length ; $ count ++ ) { $ outputFragments [ ] = $ this -> _doc -> saveXML ( $ bodyNodes -> item ( $ count ) ) ; } return implode ( $ outputFragments ) ; }
Get HTML body

@return string
Get HTML body