An object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property.

interface DOMImplementation {
    createDocument(namespace, qualifiedName, doctype?): XMLDocument;
    createDocumentType(qualifiedName, publicId, systemId): DocumentType;
    createHTMLDocument(title?): Document;
    hasFeature(...args): true;
}

Methods

  • Parameters

    • namespace: null | string
    • qualifiedName: null | string
    • Optional doctype: null | DocumentType

    Returns XMLDocument

  • Parameters

    • qualifiedName: string
    • publicId: string
    • systemId: string

    Returns DocumentType

  • Parameters

    • Optional title: string

    Returns Document

  • Parameters

    • Rest ...args: any[]

    Returns true

    Deprecated