Implementing DOM
Having learned the interfaces, attributes, and methods of DOM, you'll now learn how they can be put to work. To implement them, you obviously need an application that supports DOM. The examples in the previous portion of the book have used one implementation: that of the IE5 DSO, which relies on the Microsoft DOM engine.
The Microsoft DOM Engine
The Microsoft implementation is a fairly accurate one. It has only one glaring fault. It uses camelback notation—rather than lowercase—for the doctype attribute of the DocumentType interface. The DocumentType interface is also meant to have no children. However, the MS engine will allow you use the childNodes() method to build a nodeList of the entities and notations in the ...
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.