in reply to DTDs, HTML, LaTeX and Perl

If you want to focus primarily on documentation in HTML format, you definately should also look into DTDParse by Norman Walsh.

The development page is at Sourceforge - project page for DTDParse and example output is available here: HTML 4.0 DTD.

Cheers, Joe