File: variablelist.as.table.html

package info (click to toggle)
docbook-xsl-doc 1.75.2-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 6,848 kB
  • ctags: 3,038
  • sloc: makefile: 34; sh: 5
file content (47 lines) | stat: -rw-r--r-- 4,213 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>variablelist.as.table</title><link rel="stylesheet" href="reference.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: ReferenceDocumentation"><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" title="variablelist.as.table"><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" title="Synopsis"><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" title="Description"><a name="id1391434"></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>