(PHP 4 >= 4.0.0)

domxml_dumpmem --  Dumps the internal XML tree back into a string


string domxml_dumpmem (resource doc)


This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change in a future release of PHP without notice. Be warned and use this function at your own risk.

Creates an XML document from the dom representation. This function usually is called after a building a new dom document from scratch as in the example of domxml_add_root().

See also domxml_add_root()