Name
DOMImplementation: methods independent of any particular document — DOM Level 1 Core: Object → DOMImplementation
Methods
-
createDocument( ) Creates a new Document object with a root element (the
documentElementproperty of the returned Document object) of the specified type.-
createDocumentType( ) Creates a new DocumentType node.
-
hasFeature( ) Checks whether the current implementation supports a specified version of a named feature.
Description
The DOMImplementation interface is a placeholder for methods
that are not specific to any particular Document object but rather
are “global” to an implementation of the DOM. You can obtain a
reference to the DOMImplementation object through the implementation property of any Document
object.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access