domxml_new_doc Creates new empty XML document Description objectdomxml_new_doc stringversion &warn.experimental.func; Creates a new dom document from scratch and returns it. See also DomDocument_add_root