Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Introduction to XML DOM


May 27, 2021 XML DOM


Table of contents


Introduction to XML DOM

XML DOM( XML Document Object Model), which is the XML document object model.

XML DOM defines the criteria for accessing and processing XML documents.


The basics you should have

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

  • Html
  • Xml
  • Javascript

If you want to learn about these projects first, please visit these tutorials on our home page.


What is a DOM?

The DOM is the World Wide Web Consortium standard.

DoM defines the criteria for accessing documents such as XML and HTML:

"The W3C Document Object Model (DOM, full name Document Object Model) is a platform and language-neutral interface that enables programs and scripts to dynamically access and update the content, structure, and style of documents."

The DOM is divided into 3 different sections/levels:

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

The DOM defines the objects and properties of all document elements, as well as the methods (interfaces) that access them.


What is HTML DOM?

HTML DOM defines the objects and properties of all HTML elements, as well as the methods (interfaces) that access them.

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


What is XML DOM?

XML DOM is:

  • The standard object model for XML
  • Standard programming interface for XML
  • Neutral to platforms and languages
  • W3C standard

XML DOM defines the objects and properties of all XML elements and the methods (interfaces) that access them.

In other words: XML DOM is the standard for getting, changing, adding, or deleting XML elements.

Related tutorials

HTML DOM tutorial