DOMImplementation
The DOMImplementation
interface represents an object providing methods which are not dependent on any particular document.
Functions
Link copied to clipboard
fun createDocument(namespace: String?, qualifiedName: String?, doctype: DocumentType? = definedExternally): XMLDocument
The DOMImplementation.createDocument()
method creates and returns an XMLDocument.
Link copied to clipboard
The DOMImplementation.createDocumentType()
method returns a DocumentType object which can either be used with into the document via methods like Node.insertBefore() or ``js-nolint createDocumentType(qualifiedNameStr, publicId, systemId) ``
- qualifiedNameStr
- : A string containing the qualified name, like svg:svg
.
Link copied to clipboard
The DOMImplementation.createHTMLDocument()
method creates a new HTML Document.