Don’t call me DOM


25 October 2007

Online htmldiff service

Filed under: Uncategorized

Many Webmasters have heard about or used the W3C Link checker to find dead links on their pages, but very few would know that this service was initially created to help editors of W3C specifications find broken links in their documents, as required by W3C publication rules as a corrollary of our motto on stable cool URIs.

Every once in a while, we provide new services to make the life of our collaborators easier, and offer them to the public at large as much as possible; our latest toy in this category is an htmldiff service, which out of two online HTML documents will create a new document highlighting the differences between the two documents.

This is of course mostly useful to find the changes between two versions of a given document - and indeed, was created to help show the variations between two versions of a given Technical Report.

The tool itself is a pretty simple Python wrapper around Shane McCarron's htmldiff perl script - I'm happy to share the code of the Python wrapper if anyone is interested.

3 October 2007

DOM Childnode

Filed under:

As announced to my team mates a while ago…

<dom_bene healthy='yes' happy='very' tired="very">
   <mathias start="20070913T043100Z" weight="3.265kg" cute="mostintheworld" healthy="yes" />

(and also the reason why I may have been a bit less responsive over the two past weeks…)

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:

« 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.