DOMImplementation (W3C DOM Core object)

Spec
Version Depr.
DOM1 No
Browser support (more…)
IE5.5+ FF1.5+ SA3+ OP9+
Partial Full Full Full

Example

var imp = document.implementation;

The example above saves a reference to the DOMImplementation that controls this document.

This reference can then be used as a means of accessing implementation methods, such as hasFeature and createDocument.

Description

The DOMImplementation interface provides methods for operations that are independent of any specific document or instance of the DOM.

DOMImplementation is not a node, hence it has no nodeName, nodeType or other properties of Node.

Compatibility

Internet Explorer Firefox Safari Opera
5.5 6.0 7.0 1.5 2.0 3.0 1.3 2.0 3.0 9.0 9.5
Partial Partial Partial Full Full Full Buggy Buggy Full Full Full

Internet Explorer doesn't implement the following:

Internet Explorer 5.5 in HTML doesn't implement this interface (implementation is undefined).

Safari 1.3 has a buggy implementation of createDocumentType.

Safari 1.3 and 2 have a buggy implementation of createDocument.

In this Section

User-contributed notes

There are no comments yet.

Related Products