---
title: "What is DOM and how does it relate to XML?"  
description: "What is DOM and how does it relate to XML?"  
author: "Anonymous User"  
published: 2011-05-20  
updated: 2020-09-23  
canonical: https://www.mindstick.com/interview/969/what-is-dom-and-how-does-it-relate-to-xml  
category: "xml"  
tags: ["xml"]  
reading_time: 1 minute  

---

# What is DOM and how does it relate to XML?

The Document Object Model (DOM) is an interface specification maintained\
by the W3C DOM Workgroup that defines an application independent\
mechanism to access, parse, or update XML data. In simple terms\
it is a hierarchical model that allows developers to manipulate\
XML documents easily Any developer that has worked extensively with\
XML should be able to discuss the concept and use of DOM objects\
freely. Additionally, it is not unreasonable to expect advanced\
candidates to thoroughly understand its internal workings and be\
able to explain how DOM differs from an event-based interface like\
SAX.

## Answers

### Answer by Anonymous User

The Document Object Model (DOM) is an interface specification maintained\
by the W3C DOM Workgroup that defines an application independent\
mechanism to access, parse, or update XML data. In simple terms\
it is a hierarchical model that allows developers to manipulate\
XML documents easily Any developer that has worked extensively with\
XML should be able to discuss the concept and use of DOM objects\
freely. Additionally, it is not unreasonable to expect advanced\
candidates to thoroughly understand its internal workings and be\
able to explain how DOM differs from an event-based interface like\
SAX.


---

Original Source: https://www.mindstick.com/interview/969/what-is-dom-and-how-does-it-relate-to-xml

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
