Sophie

Sophie

distrib > Fedora > 17 > i386 > media > updates > by-pkgid > 9f452694b2d23dacae7f9cc757f9be50 > files > 786

docbook-style-xsl-1.78.1-1.fc17.noarch.rpm

<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
 &#8212; 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">
&lt;xsl:param name="variablelist.as.table" select="0"&gt;&lt;/xsl:param&gt;
</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">&lt;?dbhtml term-width=".25in"?&gt;</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">&lt;?dbhtml
list-presentation="table"?&gt;</code></a> or <a href="../pi/dbhtml_list-presentation.html"><code class="sgmltag-xmlpi">&lt;?dbhtml
list-presentation="list"?&gt;</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">  &lt;variablelist&gt;
        &lt;?dbhtml list-presentation="table"?&gt;
        &lt;?dbhtml term-width="1.5in"?&gt;
        &lt;?dbfo list-presentation="list"?&gt;
        &lt;?dbfo term-width="1in"?&gt;
        &lt;varlistentry&gt;
          &lt;term&gt;list&lt;/term&gt;
          &lt;listitem&gt;
                &lt;para&gt;
                  Formatted as a table even if variablelist.as.table is set to 0.
                &lt;/para&gt;
          &lt;/listitem&gt;
        &lt;/varlistentry&gt;
  &lt;/variablelist&gt;</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>