DOMImplementation
interface provides a number of methods
for performing operations that are independent of any particular instance
of the document object model.
See also the Document Object Model (DOM) Level 3 Core Specification.
DocumentType
given to create
the document, the implementation may instantiate specialized
Document
objects that support additional features than
the "Core", such as "HTML" [DOM Level 2 HTML]
. On the other hand, setting the DocumentType
after the
document was created makes this very unlikely to happen.
Alternatively, specialized Document
creation methods,
such as createHTMLDocument
[DOM Level 2 HTML]
, can be used to obtain specific types of Document
objects.DocumentType
node. Entity declarations
and notations are not made available. Entity reference expansions and
default attribute additions do not occur..DOMImplementation
interface.