org.w3c.dom.DOMImplementation.createDocumentType
method
public createDocumentType(qualifiedName as String, publicId as String, systemId as String) as DocumentType throws DOMException
Description

Creates a document type node.

Parameters
  • qualifiedName Qualified document type name.
  • publicId Public identifier.
  • systemId System identifier.
Returns

New document type node.

Throws
  • DOMException if the name is invalid.
Example
doctype = implementation.createDocumentType("root", "", "")