createDocument method
Creates a document that is not attached to a window.
![]() ![]() |
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
Show:

