Scholar Repository
Home>Manual>Creates new empty XML document

Creates new empty XML document


domxml_new_doc

(PHP 4 >= 4.2.0)

domxml_new_docCreates new empty XML document

Description

DomDocument domxml_new_doc ( string $version )

Creates a new Dom document from scratch and returns it.

Parameters

version

The XML version number of the document.

Return Values

Returns a new DomDocument instance.


Home>Manual>Creates new empty XML document