Revisiting the XML DOM

Although the XML DOM was covered in detail in Chapter 15, "Utilizing the Document Object Model (DOM)," I want to revisit it for a moment because it plays a vital role in XML scripting. JavaScript relies solely on the XML DOM for accessing the logical structure of XML documents, which is essential for document processing. The XML DOM provides a set of objects and interfaces that can be used to load and parse XML documents, as well as to extract information, modify information, and otherwise manipulate their XML content.

The XML DOM is the Level 1 W3C DOM that is supported on Internet Explorer 5.0. The DOM exposes XML (and HTML) documents as hierarchical tree structures made up of nodes. You can use DOM objects to traverse ...

Get XML Unleashed 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.