Share via


createDocumentType method

Creates a document type element.

 

Syntax

IDOMDocumentType retVal = object.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.

Standards information

See also

Reference

IHTMLDOMImplementation2::createDocument

IHTMLDOMImplementation2::createHTMLDocument