Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

XML DOM - DocumentImplementation Object

XML DOM - DocumentImplementation Object


DocumentImplementation Object

The operations performed by the DOMImplementation object are independent of any particular instance of the document object model.

DocumentImplementation Object Methods

Method Description
createDocument(nsURI, name, doctype) Creates a new DOM Document object of the specified document type.
createDocumentType(name, pubId, systemId) Creates an empty DocumentType node.
getFeature(feature, version) Returns an object that can perform the API with the specified feature and version.
hasFeature(feature, version) Checks whether the DOM implementation implements the specified feature and version.