createDocumentType
Summary
Creates a Document Type node.
Method of dom/Implementationdom/Implementation
Syntax
var object = implementation.createDocumentType(qualifiedName, publicID, systemId);
Parameters
qualifiedName
- Data-type
- String
The name of the document type. When you use XML namespaces, this name can be a qualified name (for example, namespace:localname).
publicID
- Data-type
- String
The public identifier of the document type or null.
systemId
- Data-type
- String
The system identifier of the document type or null.
Return Value
Returns an object of type DOM NodeDOM Node
The created document type object.
Related specifications
- DOM Level 3 Core
- Recommendation
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]