Mark Pilgrims latest article in XML.com,
is not only a really good read on XHTML, XML, HTML and mime-type but also
has a really good example of what I am complaining about with the verbosity and akwardness of DOM.
Take a look at #6 in his list of caveats for transitioning to application/xhtml+xml
.
What used to take one line of code expands to six. Six lines of code just to do what used to
take one line just because when working with XHTML server up with a mime-type
of application/xhtml+xml
JavaScript is restricted to using just
the DOM to manipulate the content.
Note: Sado-markupchism looks like another word that Mark will own.