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