Interface DOMImplementation
interface DOMImplementation {
createDocument(
namespace: string,
qualifiedName: string,
doctype?: DocumentType,
): XMLDocument;
createDocumentType(
qualifiedName: string,
publicId: string,
systemId: string,
): DocumentType;
createHTMLDocument(title?: string): Document;
hasFeature(...args: any[]): true;
}
createDocument(
namespace: string,
qualifiedName: string,
doctype?: DocumentType,
): XMLDocument;
createDocumentType(
qualifiedName: string,
publicId: string,
systemId: string,
): DocumentType;
createHTMLDocument(title?: string): Document;
hasFeature(...args: any[]): true;
}
Index
Methods
createDocument
- createDocument(
namespace: string,
qualifiedName: string,
doctype?: DocumentType,
): XMLDocument Parameters
- namespace: string
- qualifiedName: string
Optional
doctype: DocumentType
Returns XMLDocument
createDocumentType
- createDocumentType(
qualifiedName: string,
publicId: string,
systemId: string,
): DocumentType Parameters
- qualifiedName: string
- publicId: string
- systemId: string
Returns DocumentType
An object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property.
MDN Reference