# The Dom\DocumentType class

&reftitle.intro;

Each `Dom\Document` has a `doctype` attribute whose value is either &null; or a `Dom\DocumentType` object.

This is the modern, spec-compliant equivalent of `DOMImplementation`.

&reftitle.classsynopsis;

         Dom\DocumentType

         extends
         Dom\Node

         implements
         Dom\ChildNode

        &InheritedConstants;

        &Properties;

         public
         readonly
         string
         name

         public
         readonly
         Dom\DtdNamedNodeMap
         entities

         public
         readonly
         Dom\DtdNamedNodeMap
         notations

         public
         readonly
         string
         publicId

         public
         readonly
         string
         systemId

         public
         readonly
         stringnull
         internalSubset

        &InheritedProperties;

        &Methods;
        Not documented yet

        &InheritedMethods;
        Not documented yet

&reftitle.properties;

`entities`

- A `Dom\DtdNamedNodeMap` containing the general entities, both external and internal, declared in the DTD.

`notations`

- A `Dom\DtdNamedNodeMap` containing the notations declared in the DTD.