Chapter 7. Handling XML Documents with JavaScript

Having successfully mastered JavaScript in the previous chapter (for our purposes, anyway), we're going to use it in this chapter to work with the W3C Document Object Model (DOM), the W3C-standardized programming interface for handling XML documents. Before the introduction of the DOM, all XML parsers and processors had different ways of interacting with XML documents—and, worse, they kept changing all the time. With the introduction of the XML DOM, things have settled down (to some extent). Note that this chapter relies on the Microsoft Internet Explorer, which provides the most complete JavaScript-accessible implementation of the DOM.

Get Inside XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.