1 <refentry xmlns="http://docbook.org/ns/docbook"
2 xmlns:xlink="http://www.w3.org/1999/xlink"
3 xmlns:xi="http://www.w3.org/2001/XInclude"
4 xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
5 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6 version="5.0" xml:id="default.table.rules">
8 <refentrytitle>default.table.rules</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
12 <refname>default.table.rules</refname>
13 <refpurpose>The default column and row rules for tables using HTML markup</refpurpose>
17 <src:fragment xml:id="default.table.rules.frag">
18 <xsl:param name="default.table.rules">none</xsl:param>
22 <refsection><info><title>Description</title></info>
24 <para>Tables using HTML markup elements can use an attribute
25 named <tag class="attribute">rules</tag> on the <tag>table</tag> or
26 <tag>informaltable</tag> element
27 to specify whether column and row border rules should be
28 displayed. This parameter lets you specify a global default
29 style for all HTML tables that don't otherwise have
30 that attribute.</para>
31 <para>These are the supported values:</para>
34 <varlistentry><term>all</term>
36 <para>Rules will appear between all rows and columns.</para>
40 <varlistentry><term>rows</term>
42 <para>Rules will appear between rows only.</para>
46 <varlistentry><term>cols</term>
48 <para>Rules will appear between columns only.</para>
52 <varlistentry><term>groups</term>
54 <para>Rules will appear between row groups (thead, tfoot, tbody).
55 No support for rules between column groups yet.
60 <varlistentry><term>none</term>
62 <para>No rules. This is the default value.
69 <para>The border after the last row and the border after
70 the last column are not affected by
71 this setting. Those borders are controlled by
72 the <tag class="attribute">frame</tag> attribute on the table element.