Summary

Object-oriented programming, or OOP, is a software engineering process that offers many advantages over other approaches, and it's used in the IE implementation of XML. This hour started with a brief introduction to the basic principles of applying OOP to XML.

When the xmldom object reads the data from an XML file, each pair of matched opening and closing tags is used to create a node. The nodes at the same level in the hierarchical tree are then collected into an ordered nodeList, which has properties that can be used to move through the list. You used these properties to create an HTML program that reads the data from any HTML file.

Get Sams Teach Yourself XML in 24 Hours 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.