JavaScript: The Definitive Guide

25.83. DOMImplementation: methods independent of any particular document

DOM Level 1 Core: Object DOMImplementation

25.83.1. Methods

createDocument( )

Creates a new Document object with a root element (the documentElement property 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.

25.83.2. 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.

Категории