I\'m getting an html fragment, that initially doesn\'t contain things like head, body or some stuff like this.
When I do
$myDoc = new DOMDocument(); $m