DomDocument->html_dump_mem --
Dumps the internal XML tree back into a string as HTML
Описание
string DomDocument->html_dump_mem ( void )
Creates an HTML document from the dom representation. This function
usually is called after building a new dom document from scratch
as in the example below.
Пример 1. Creating a simple HTML document header
<?php
// Creates the document $doc = domxml_new_doc("1.0");