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
- create
Document (namespace, qualifiedName, doctype?): XMLDocument Parameters
- namespace: string
- qualifiedName: string
Optional
doctype: DocumentType
Returns XMLDocument
createDocumentType
- create
Document (qualifiedName, publicId, systemId): DocumentTypeType 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