XML DOM tutoria...login
XML DOM tutorial
author:php.cn  update time:2022-04-13 15:27:56

DOM DocumentType


XML DOM - DocumentType Object


DocumentType Object

Each document contains a DOCTYPE attribute, the value of which can be Is a null value or a DocumentType object.

The DocumentType object provides an interface for defining the entities of an XML document.

DocumentType Object Properties

#PropertiesDescription
entitiesReturn the NamedNodeMap containing the entities declared in the DTD.
internalSubsetReturns the internal DTD as a string.
nameReturns the name of the DTD.
notationsReturns a NamedNodeMap containing the symbols declared by the DTD.
systemIdReturns the system identifier of the external DTD.

php.cn