createDocument method
Creates a document that is not attached to a window.
Syntax
IHTMLDocument7 retVal = object.createDocument(pvarNS, pvarElementName, pDocumentType);
Parameters
pvarNS [in]
Type: VARIANTThe namespace URI of the resulting document or a NULL value.
pvarElementName [in]
Type: VARIANTThe qualified name (for example,
namespace:localname
) of the root element for the document or a NULL value.pDocumentType [in]
Type: IDOMDocumentTypeThe desired document type for the document or a NULL value.
Standards information
See also
Reference