For HTML output, you can add a table summary to each table. A table summary is output as a summary
attribute on the HTML TABLE
element. You have two options for providing a table summary. If you do not use either option, then the table's title (if it has one) will be used as the summary.
If your DocBook table
element has a textobject
element that contains a phrase
element, then that text will be used in the summary. The DTD permits table
to have a textobject
element between the title
and the tgroup
elements.
<table>
<title>Mouse buttons</title>
<textobject>
<phrase>Summarizes the click sequences for mouse buttons</phrase>
</textobject>
<tgroup>
...
You can add a processing instruction for a table summary. It must appear inside the tgroup
element to work.
<table>
<title>Mouse buttons</title>
<tgroup>
<?dbhtml table-summary="Summarizes the sequences for mouse buttons" ?>
<row>
...
DocBook XSL: The Complete Guide - 4th Edition | PDF version available | Copyright © 2002-2007 Sagehill Enterprises |