First page Back Continue Last page Overview Graphics
Reasons for DOM Ugliness
- Had to be backwards compatible with unplanned object models in third generation web browsers.
- Designed by a committee trying to reconcile differences between the object models implemented by Netscape, Microsoft, and other vendors. 
- A cross-language API defined in IDL
- Needed to support weak scripting languages like JavaScript and AppleScript 
- Must work for both HTML and XML.