DOM Tutorial
The Document Object Model allows interfacing programming languages with XML documents
by associating them with an object oriented model.
It describes the structure of an XML or HTML document, a web page and allows access to each individual element. We will see in this tutorial that you can modify each element of a page, or create a page or a part through DOM's methods.
This tutorial is based on the DOM 2 Core specification implemented by all browsers.
We will see the details of interfaces and how to use them in examples: list of attributes, list of methods, access to the content, add elements (example: Include another page), modify the contents, remove items.
References
- Recommendation from the W3C. DOM 1 defines all the attributes and functions.
© 2006-2024 Xul.fr