XML DOMLesson 31Free preview
DOM Introduction
This lesson is part of XML · All levels
Summary
A Document Object Model (DOM) is a representation of an XML or HTML document shaped like an object tree that is loaded into memory. Through the W3C-standardised DOM API, programs can read, search, add, modify, and delete portions of documents in the same way in different languages. DOM implementations are available in JavaScript browsers as well as parser such as DOMDocument in PHP.
Key points
- DOM presents the document as an object tree in memory
- The DOM API is standardized to W3C so that it is cross-language uniform
- DOM supports read and write operations on documents
- PHP browsers and parser provide DOM implementations
- Each part of the document is represented as a node
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.