createDocumentType method

DocumentType createDocumentType(
  1. String qualifiedName,
  2. String publicId,
  3. String systemId
)

The DOMImplementation.createDocumentType() method returns a DocumentType object which can either be used with DOMImplementation.createDocument upon document creation or can be put into the document via methods like Node.insertBefore or Node.replaceChild.

Implementation

external DocumentType createDocumentType(
  String qualifiedName,
  String publicId,
  String systemId,
);