Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
go
Expand Minimize

createDocumentType method

Creates a document type element.

Document Object Model (DOM) Level 3 Core Specification, Section 1.4Internet Explorer 9

 

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:
© 2015 Microsoft