Simon Willison’s Weblog

Subscribe

DOM2 almost recommended

11th January 2003

Craig Saila notes that the W3C have released DOM Level 2 as a recommendation and simultaneously recommended against its use in an article on News.com. Scripts should be used sparingly as they are less machine-readable or transparent than so-called declarative languages like SVG and SMIL. I’m a big advocate of the labels.js school of scripting where DOM scripts are used to enhance the functionality of a document using the semantic structure of the underlying XHTML, while degrading gracefully (and without loss of information) in user agents without the required javascript support.

This is DOM2 almost recommended by Simon Willison, posted on 11th January 2003.

Next: Chat rooms and meetings

Previous: Surfin' Safari

Previously hosted at http://simon.incutio.com/archive/2003/01/11/dom2AlmostRecommended