createDocumentType

fun createDocumentType(name: String, publicId: String, systemId: String): DocumentType(source)

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.

MDN Reference