variablelist.as.table

variablelist.as.table — Format variablelists as tables?

Synopsis

<xsl:param name="variablelist.as.table" select="0"></xsl:param>

Description

If non-zero, variablelists will be formatted as tables. A processing instruction exists to specify a particular width for the column containing the terms: <?dbhtml term-width=".25in"?>

You can override this setting with a processing instruction as the child of variablelist: <?dbhtml list-presentation="table"?> or <?dbhtml list-presentation="list"?>.

This parameter only applies to the HTML transformations. In the FO case, proper list markup is robust enough to handle the formatting. But see also variablelist.as.blocks.

  <variablelist>
        <?dbhtml list-presentation="table"?>
        <?dbhtml term-width="1.5in"?>
        <?dbfo list-presentation="list"?>
        <?dbfo term-width="1in"?>
        <varlistentry>
          <term>list</term>
          <listitem>
                <para>
                  Formatted as a table even if variablelist.as.table is set to 0.
                </para>
          </listitem>
        </varlistentry>
  </variablelist>