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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access