2.1 Extensions to the Document Interface

The Document (IXMLDOMDocument) interface implements the Document interface in [DOMLevel2Core:2000]. The interface represents the top level of the XML source and includes members for retrieving and creating all other XML objects.

The Document interface is extended by the documentElement attribute. For details, see Attributes.

The Document interface is extended by the following methods. For details, see Methods.

IDL Definition

 interface Document : Node {
   // Introduced in DOM Level 2:
   Element            documentElement
   // Introduced in DOM Level 2:
   Node               createNode
   Node               nodeFromId
 };