Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Contains the root element of the document.
Syntax
objDOMElement = oDOMDocument.documentElement objDOMDocument.documentElement = objDOMElement
Remarks
Object. The property is read/write. It returns the IDOMElement object that represents the single element that represents the root of the XML document tree. Returns NULL if no root exists.
When setting the documentElement property, the specified element node is inserted into the child list of the document after any document type node. To precisely place the node within the children of the document, call the IDOMNode object's insertBefore method.
The parentNode property is reset to the document node as a result of this operation.
Applies To
See Also
IDOMElement
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.