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 48 49 50 51 52 53 54 55 56
|
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>qanda.defaultlabel</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: ReferenceDocumentation"><link rel="up" href="qa.html" title="QAndASet"><link rel="prev" href="qanda.inherit.numeration.html" title="qanda.inherit.numeration"><link rel="next" href="qanda.in.toc.html" title="qanda.in.toc"><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">qanda.defaultlabel</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="qanda.inherit.numeration.html">Prev</a></td><th width="60%" align="center">QAndASet</th><td width="20%" align="right"><a accesskey="n" href="qanda.in.toc.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="qanda.defaultlabel"></a><div class="titlepage"></div>
<div class="refnamediv"><h2><span class="refentrytitle">qanda.defaultlabel</span></h2><p>
qanda.defaultlabel
— Sets the default for defaultlabel on QandASet.
</p></div>
<div class="refsynopsisdiv"><h2>Synopsis</h2>
<a name="qanda.defaultlabel.frag"></a><pre class="programlisting">
<xsl:param name="qanda.defaultlabel">number</xsl:param>
</pre>
</div>
<div class="refsection"><a name="idp4730384"></a><h2>Description</h2>
<p>If no <code class="literal">defaultlabel</code> attribute is specified on
a <a href="http://docbook.org/tdg5/en/html/qandaset.html"><code class="sgmltag-element">qandaset</code></a>, this value is used. It is generally one of the legal
values for the defaultlabel attribute (<code class="literal">none</code>,
<code class="literal">number</code> or
<code class="literal">qanda</code>), or one of the additional stylesheet-specific values
(<code class="literal">qnumber</code> or <code class="literal">qnumberanda</code>).
The default value is 'number'.
</p>
<p>The values are rendered as follows:</p>
<div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">qanda</code></span></dt><dd>
<p><a href="http://docbook.org/tdg5/en/html/question.html"><code class="sgmltag-element">question</code></a>s are labeled "Q:" and
<a href="http://docbook.org/tdg5/en/html/answer.html"><code class="sgmltag-element">answer</code></a>s are labeled "A:". </p>
</dd><dt><span class="term"><code class="literal">number</code></span></dt><dd>
<p>The questions are enumerated and the answers
are not labeled. </p>
</dd><dt><span class="term"><code class="literal">qnumber</code></span></dt><dd>
<p>The questions are labeled "Q:" followed by a number, and answers are not
labeled.
When sections are numbered, adding a label
to the number distinguishes the question numbers
from the section numbers.
This value is not allowed in the
<code class="sgmltag-attribute">defaultlabel</code> attribute
of a <a href="http://docbook.org/tdg5/en/html/qandaset.html"><code class="sgmltag-element">qandaset</code></a> element.</p>
</dd><dt><span class="term"><code class="literal">qnumberanda</code></span></dt><dd>
<p>The questions are labeled "Q:" followed by a number, and
the answers are labeled "A:".
When sections are numbered, adding a label
to the number distinguishes the question numbers
from the section numbers.
This value is not allowed in the
<code class="sgmltag-attribute">defaultlabel</code> attribute
of a <a href="http://docbook.org/tdg5/en/html/qandaset.html"><code class="sgmltag-element">qandaset</code></a> element.</p>
</dd><dt><span class="term"><code class="literal">none</code></span></dt><dd>
<p>No distinguishing label precedes Questions or Answers.
</p>
</dd></dl></div>
</div>
</div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="qanda.inherit.numeration.html">Prev</a></td><td width="20%" align="center"><a accesskey="u" href="qa.html">Up</a></td><td width="40%" align="right"><a accesskey="n" href="qanda.in.toc.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">qanda.inherit.numeration</td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top">qanda.in.toc</td></tr></table></div></body></html>
|