createDocumentType method
Creates a document type element.
![]() ![]() |
Syntax
var retval = implementation.createDocumentType(bstrQualifiedName, pvarPublicId, pvarSystemId);Parameters
- bstrQualifiedName [in]
-
Type: BSTR
The name of the document type. When you use XML namespaces, this name can be a qualified name (for example,
namespace:localname). - pvarPublicId [in]
-
Type: Variant
The public identifier of the document type or null.
- pvarSystemId [in]
-
Type: Variant
The system identifier of the document type or null.
Return value
Type: IDOMDocumentType
The resulting document type object.
Standards information
See also
- implementation
- Reference
- createDocument
- createHTMLDocument
Show:

