📜  DOM-DOMImplementation对象

📅  最后修改于: 2020-11-10 05:12:09             🧑  作者: Mango


DOMImplementation对象提供了许多用于执行独立于文档对象模型的任何特定实例的操作的方法。

方法

下表列出了DOMImplementation对象的方法-

S.No. Method & Description
1 createDocument(namespaceURI, qualifiedName, doctype)

It creates a DOM Document object of the specified type with its document element.

2 createDocumentType(qualifiedName, publicId, systemId)

It creates an empty DocumentType node.

3

getFeature(feature, version)

This method returns a specialized object which implements the specialized APIs of the specified feature and version. This has been removed. Refer specs.

4 hasFeature(feature, version)

This method tests if the DOM implementation implements a specific feature and version.