DOM/domcore/DOMImplementation

From W3C Wiki
< DOM‎ | domcore
Jump to: navigation, search

DOMImplementation

The DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.


Methods

Name Description
hasFeature(feature, version) Test if the DOM implementation implements a specific feature and version.
createDocumentType(qualifiedName, publicId, systemId) Creates an empty DocumentType node.
createDocument(namespace, qualifiedName, doctype) Creates a DOM Document object of the specified type with its document element.
createHTMLDocument(title) Creates a HTML Document.


DOM Core reference

DOM Core specification defines the Interface DOMImplementation in 5.5.1 Interface DOMImplementation.