XML DOM implementation attribute

Document object reference manual

Definition and usage

The implementation attribute can return the DOMImplementation object that handles the document.

Syntax:

documentObject.implementation

Instance

In all examples, we will use the XML file books.xml, and the JavaScript function loadXMLDoc().

The following code snippet can return the DOMImplementation object for the operation of the document:

xmlDoc=loadXMLDoc("/example/xdom/books.xml");
document.write(xmlDoc.implementation;

Output:

[object DOMImplementation]

Document object reference manual