public function findContentWithBody() { $nodes = $this->xpath->query('//body'); if ($nodes !== false && $nodes->length > 0) { Logger::setMessage(get_called_class() . ' Find <body/>'); return $this->dom->saveXML($nodes->item(0)); } return ''; }