Don’t call me DOM

12 September 2007

DTD comparison

As a follow-up on my toying with DTDs, I added a new Python script to my toolbox this morning: allows to compare the vocabularies defined in several DTDs to see which elements and attributes are present or absent among them.

For instance, running python has allowed me to build a comparison of the various mobile XHTML flavors with the content of XHTML 1.0 Strict.

I haven’t included XHTML MP 1.1 and XHTML MP 1.2 in that comparison chart since the officlal DTDs seems to have syntax errors, reported by the script as follows:

31 July 2007

Generating HTML documentation from DTD

Filed under:

I consider myself fairly fluent in XML technologies, but there is at least one technology that I have never bothered to fully learn, nor that I am planning to ever fully learn, and this would be XML DTDs.

Some people would like DTDs to disappear completely off the face of XML, and while I wouldn’t disagree with them, I still have to live in a world where some markup languages are formalized using DTDs, and even more importantly, where the greatest part of the developed markup language productions is checked using DTD (typically with the W3C Markup Validator).

6 July 2007

A bright eclipse

Filed under:

Most of the Web development I work on is, for good or for worse, using PHP – my natural preference would go to coding in Python, but PHP is what was and is available on the W3C servers, and I’ve become much more fluent in it than in any other programming language.

« Newer entriesOlder entries »

Picture of Dominique Hazael-MassieuxDominique Hazaël-Massieux ( is part of the World Wide Web Consortium (W3C) Staff; his interests cover a number of Web technologies, as well as the usage of open source software in a distributed work environment.