javascript Obj_Document Description
Document | Firefox/Netscape/NN 6 IE n/a Chrome/Safari/DOM 1 | ||||||||||||||
|
|||||||||||||||
The document object described earlier is, in the W3C DOM structure, more specifically an HTMLDocument node, a member of the HTML module of the standard. The HTMLDocument node inherits the properties and methods of the Document node (with an uppercase "D" described here, and defined in the W3C DOM Core module. This is the pure, abstract Document node, and all that is needed to contain an unrendered XML document. |
|||||||||||||||
Netscape 6 extends this node with a load( ) method that allows scripts to load XML documents into a plain (and unseen) Document node. Such a node is created via the document.implementation.createDocument( ) method. Scripts can then access the XML data in that document through regular W3C DOM document tree properties and methods. |
|||||||||||||||
To help reinforce in your mind the heritage of the document object you normally script (that is, the instance of the HTMLDocument node represented in each window's document), I show the lists of properties and methods for the core Document object. For descriptions of all these properties and methodsexcept for the uninherited Netscape 6-specific load( ) methodsee the document object. |
|||||||||||||||
Object Model Reference | |||||||||||||||
documentNodeReference
|
|||||||||||||||
Object-Specific Properties | |||||||||||||||
|
|||||||||||||||
Object-Specific Methods | |||||||||||||||
|
|||||||||||||||
Object-Specific Event Handler Properties | |||||||||||||||
None. |
Powered by Linode.