<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>variablelist.as.table</title><link rel="stylesheet" type="text/css" href="../reference.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: Reference Documentation"><link rel="up" href="lists.html" title="Lists"><link rel="prev" href="segmentedlist.as.table.html" title="segmentedlist.as.table"><link rel="next" href="variablelist.term.separator.html" title="variablelist.term.separator"><link rel="copyright" href="copyright.html" title="License"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">variablelist.as.table</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="segmentedlist.as.table.html">Prev</a> </td><th width="60%" align="center">Lists</th><td width="20%" align="right"> <a accesskey="n" href="variablelist.term.separator.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="variablelist.as.table"></a><div class="titlepage"></div> <div class="refnamediv"><h2><span class="refentrytitle">variablelist.as.table</span></h2><p> variablelist.as.table — Format <a href="http://docbook.org/tdg5/en/html/variablelist.html"><code class="sgmltag-element">variablelist</code></a>s as tables? </p></div> <div class="refsynopsisdiv"><h2>Synopsis</h2> <a name="variablelist.as.table.frag"></a><pre class="programlisting"> <xsl:param name="variablelist.as.table" select="0"></xsl:param> </pre> </div> <div class="refsection"><a name="idp1727648"></a><h2>Description</h2> <p>If non-zero, <a href="http://docbook.org/tdg5/en/html/variablelist.html"><code class="sgmltag-element">variablelist</code></a>s will be formatted as tables. A processing instruction exists to specify a particular width for the column containing the <a href="http://docbook.org/tdg5/en/html/term.html"><code class="sgmltag-element">term</code></a>s: <a href="../pi/dbhtml_term-width.html"><code class="sgmltag-xmlpi"><?dbhtml term-width=".25in"?></code></a></p> <p>You can override this setting with a processing instruction as the child of <a href="http://docbook.org/tdg5/en/html/variablelist.html"><code class="sgmltag-element">variablelist</code></a>: <a href="../pi/dbhtml_list-presentation.html"><code class="sgmltag-xmlpi"><?dbhtml list-presentation="table"?></code></a> or <a href="../pi/dbhtml_list-presentation.html"><code class="sgmltag-xmlpi"><?dbhtml list-presentation="list"?></code></a>.</p> <p>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 <a href="../fo/variablelist.as.blocks.html"><em class="parameter"><code>variablelist.as.blocks</code></em></a>.</p> <pre class="programlisting"> <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></pre> </div> </div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="segmentedlist.as.table.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="lists.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="variablelist.term.separator.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">segmentedlist.as.table </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> variablelist.term.separator</td></tr></table></div></body></html>