Working with the Document Type
The document type node represents the information provided by the DOCTYPE declaration, if one appears. The IXMLDOMDocumentType
object, accessible through the doctype
property of the DOMDocument
object, is read-only. This object provides access to the entities and notations that have been declared in the document type definition (DTD) of the document. Its name
property identifies the root element of the document.
For more information about properties and methods of IXMLDOMDocumentType
, see the IXMLDOMDocumentType.