YouTip LogoYouTip

Dom Prop Document Implementation

body { font-family: Arial, sans-serif; line-height: 1.6; margin: 20px; } h1, h2, h3 { color: #333; } .example { background-color: #f9f9f9; border-left: 4px solid #007bff; padding: 15px; margin: 20px 0; } .code { background-color: #f4f4f4; padding: 10px; border-radius: 5px; overflow-x: auto; } .note { background-color: #fff3cd; border: 1px solid #ffeeba; color: #856404; padding: 15px; border-radius: 5px; margin: 20px 0; } .output { background-color: #e9ecef; padding: 10px; border-radius: 5px; margin-top: 10px; } .nav { margin-bottom: 20px; } .nav a { margin-right: 15px; text-decoration: none; color: #007bff; } .nav a:hover { text-decoration: underline; } .footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid #ddd; font-size: 0.9em; color: #666; }

XML DOM implementation Property

Definition and Usage

The implementation property returns the DOMImplementation object that handles this document.

Syntax

documentObject.implementation

Example

The following code snippet uses loadXMLDoc() to load "books.xml" into xmlDoc, and returns the DOMImplementation object that handles the document:

Example

xmlDoc=loadXMLDoc("books.xml");

document.write(xmlDoc.implementation);
            
Output:

Try it yourself Β»

← Dom Prop Document InputencodinProp Document Firstchild β†’