Using the XML Document Object Model

When you load an XML document, it is mapped into a document tree. This document tree has an associated object model that allows you to navigate and access elements programmatically. The majority of your programming time will be working within this document object model, so we will cover it in some detail. The concept of an XML Document Object Model (XMLDOM) is relatively new. The XMLDOM is similar to the DHTML DOM found in Microsoft Internet Explorer. We will be using the XML2 Document Object Model found in Internet Explorer 5.0. Actually, XML2 can be installed separately from IE5 because it is not exclusive to the Web browser. The XMLDOM can be used in any program. See the following Note on installing ...

Get Sams Teach Yourself Microsoft® Windows® DNA Programming in 21 Days 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.