25.85. DOMImplementation.createDocumentType( ): create a DocumentType nodeDOM Level 2 Core:25.85.1. SynopsisDocumentType createDocumentType(String qualifiedName, String publicId, String systemId) tHRows DOMException; 25.85.1.1. Arguments
25.85.1.2. ReturnsA new DocumentType object with an ownerDocument property of null. 25.85.1.3. ThrowsThis method may throw a DOMException with one of the following code values:
25.85.2. DescriptionThis method creates a new DocumentType node. This method specifies only an external subset of the document type. As of Level 2, the DOM standard does not provide any way to specify an internal subset, and the returned DocumentType does not define any Entity or Notation nodes. This method is useful only with XML documents. |