(PHP 4 >= 4.2.0)
domxml_new_doc — Creates new empty XML document
$version
Creates a new Dom document from scratch and returns it.
version
The XML version number of the document.
Returns a new DomDocument instance.