XML DOM implementation attribute
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]
TIY
- Display the DOMImplementation object of the operation document(Not supported by IE browser)