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

createDocument method

Creates a document that is not attached to a window.

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

 

Syntax

var retval = implementation.createDocument(pvarNS, pvarElementName, pDocumentType);

Parameters

pvarNS [in]

Type: Variant

The namespace URI of the resulting document or a null value.

pvarElementName [in]

Type: Variant

The qualified name (for example, namespace:localname) of the root element for the document or a null value.

pDocumentType [in]

Type: IDOMDocumentType

The desired document type for the document or a null value.

Return value

Type: IHTMLDocument7

The resulting document.

Standards information

See also

implementation
Reference
createDocumentType
createHTMLDocument

 

 

Show:
© 2015 Microsoft