default.table.rules.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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">
  7. <refmeta>
  8. <refentrytitle>default.table.rules</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>default.table.rules</refname>
  13. <refpurpose>The default column and row rules for tables using HTML markup</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="default.table.rules.frag">
  17. <xsl:param name="default.table.rules">none</xsl:param>
  18. </src:fragment>
  19. </refsynopsisdiv>
  20. <refsection><info><title>Description</title></info>
  21. <para>Tables using HTML markup elements can use an attribute
  22. named <tag class="attribute">rules</tag> on the <tag>table</tag> or
  23. <tag>informaltable</tag> element
  24. to specify whether column and row border rules should be
  25. displayed. This parameter lets you specify a global default
  26. style for all HTML tables that don't otherwise have
  27. that attribute.</para>
  28. <para>These are the supported values:</para>
  29. <variablelist>
  30. <varlistentry><term>all</term>
  31. <listitem>
  32. <para>Rules will appear between all rows and columns.</para>
  33. </listitem>
  34. </varlistentry>
  35. <varlistentry><term>rows</term>
  36. <listitem>
  37. <para>Rules will appear between rows only.</para>
  38. </listitem>
  39. </varlistentry>
  40. <varlistentry><term>cols</term>
  41. <listitem>
  42. <para>Rules will appear between columns only.</para>
  43. </listitem>
  44. </varlistentry>
  45. <varlistentry><term>groups</term>
  46. <listitem>
  47. <para>Rules will appear between row groups (thead, tfoot, tbody).
  48. No support for rules between column groups yet.
  49. </para>
  50. </listitem>
  51. </varlistentry>
  52. <varlistentry><term>none</term>
  53. <listitem>
  54. <para>No rules. This is the default value.
  55. </para>
  56. </listitem>
  57. </varlistentry>
  58. </variablelist>
  59. <para>The border after the last row and the border after
  60. the last column are not affected by
  61. this setting. Those borders are controlled by
  62. the <tag class="attribute">frame</tag> attribute on the table element.
  63. </para>
  64. </refsection>
  65. </refentry>