DOMDocument::__construct Creates a new DOMDocument object &reftitle.description; DOMDocument::__construct stringversion stringencoding Creates a new DOMDocument object. &reftitle.parameters; version The version number of the document as part of the XML declaration. encoding The encoding of the document as part of the XML declaration. &reftitle.examples; Creating a new DOMDocument saveXML(); /* */ ?> ]]> &reftitle.seealso;