createDocumentType(qualifiedName, publicId, systemId)
|
|
Parameters
|
StringqualifiedName
The qualified name of the document type to be created.
StringpublicId
The external subset public identifier.
StringsystemId
The external subset system identifier.
|
Returns
|
DocumentType. A new DocumentType node with Node.ownerDocument set to null.
|
Throws
|
DOMException INVALID_CHARACTER_ERR: Raised if the specified qualified name contains an illegal character.
NAMESPACE_ERR: Raised if the qualifiedName is malformed.
|