Anyone who has ever created or maintained a Web site knows the headaches created by inserting footnotes on a Web page. Here's an elegant solution using DocBook elements to identify footnotes in the XML file along with some efficient XSL transformations to position the footnotes properly on the Web page.
Tables come in all shapes and sizes and therein lies the problem. The example here employs a relatively short section of XSL code (about 100 lines) to transform a table of any size and configuration (including rowspans and colspans) into the desired HTML table. It uses DocBook elements to describe the table in the XML file.