Expand Minimize

createDocumentType method

Creates a document type element.

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

Syntax

var retval = implementation.createDocumentType(bstrQualifiedName, pvarPublicId, pvarSystemId);

Parameters

bstrQualifiedName [in]

Type: String

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