Latest web development tutorials

XML DOM Introduction

XML DOM defines a standard for accessing and manipulating XML documents.


You should have basic knowledge

Before you continue, you should have a basic knowledge of the following understanding:

  • HTML
  • XML
  • JavaScript

If you want to study these subjects first, please our home page to access these tutorials.


What is the DOM?

DOM is the W3C (World Wide Web Consortium) standards.

DOM defines access such as XML and HTML documents Standards:

"W3C Document Object Model (DOM, stands for Document Object Model) is an ability to make programs and scripts to dynamically access and update document content, structure and style of platform and language-neutral interface."

DOM is divided into 3 different parts / levels:

  • Core DOM - standard model for any structured document
  • XML DOM - standard model for XML documents
  • HTML DOM - standard model for HTML documents

DOM defines theobjects and properties of all document elements, as well as accessto them (the interface).


What is the HTML DOM?

HTML DOM defines theobjects and properties of all HTML elements, and access their methods(interface).

If you want to learn HTML DOM, please on our home page to access the HTML DOM tutorial.


What is XML DOM?

XML DOM is:

  • Standard object model for XML
  • A standard programming interface for XML
  • Neutral platform and language
  • W3C Standards

XML DOM defines theobjects and properties of all XML elements, as well as accessto them (the interface).

In otherwords: XML DOM is used to obtain, change, add or delete the standard XML element.