domxml_new_xmldoc

(PHP 4 >= 4.0b4)

domxml_new_xmldoc --  Creates new empty XML document

Description

object domxml_new_xmldoc (string version)

Warning

This function is EXPERIMENTAL. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk.

Creates a new dom document from scratch and returns it.

See also domxml_add_root()