Home > PHP > Function > DOM XML (PHP 4) > DomDocumentType->name()

DomDocumentType->name()

DomDocumentType->name - Returns name of document type

Syntax

string DomDocumentType->name ()

Arguments

-

Description

This function returns the name of the document type.

Version

PHP 4.1.0

Return value

Returns the name of the DomDocumentType, as a string.