Javascript Reference
Categories: document

javascript document implementation

@March 15, 2008, 1:22 a.m.
implementation Firefox/Netscape/NN 6 IE 5(Mac)/6(Win) Chrome/Safari/DOM 1

Read-only

Returns a reference to the W3C DOMImplementation object, which represents, to a limited degree, the environment that makes up the document containerthe browser, for our purposes. Methods of the object let you see which DOM modules the browser reports supporting. This object is also a gateway to creating virtual W3C Document and DocumentType objects outside of the current document tree. Thus, in Netscape 6 you can use the document.implementation property as a start to generating a nonrendered document for external XML documents. See the DOMImplementation object for details about the methods and their browser support.

 
Example
 
var xDoc = document.implementation.createDocument("", "theXdoc", null);
 
Value

Reference to a DOMImplementation object.

 
Default

Current DOMImplementation object.


Powered by Linode.