createDocumentType
Description
The createDocumentType of DOMImplementation for JS returns a doctype, with the given qualifiedName, publicId, and systemId.
If qualifiedName does not match the Name production, an "InvalidCharacterError" DOMException is thrown, and if it does not match the QName production, a "NamespaceError" DOMException is thrown.
Syntax
doctype = document.implementation.createDocumentType(qualifiedName, publicId, systemId)
Parameters
qualifiedName
A qualified name.
publicId
A public identification.
systemId
A system identification.