| 1 | <refentry id="question.element" revision='3.1'> |
| 2 | <?dbhtml filename="question.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>question</secondary></indexterm> |
| 11 | <refentrytitle>question</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>question</refname> |
| 16 | <refpurpose>&question.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &question.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | A <sgmltag>Question</sgmltag> in a <sgmltag>QandAEntry</sgmltag> poses a question or |
| 24 | states a problem that is addressed by the following <sgmltag>Answer</sgmltag>(s). |
| 25 | <sgmltag>Answer</sgmltag>s are optional (some questions |
| 26 | have no answers) and may be repeated (some questions have more than |
| 27 | one answer). |
| 28 | </para> |
| 29 | |
| 30 | <refsect2><title>Processing expectations</title> |
| 31 | <para> |
| 32 | <sgmltag>Question</sgmltag>s are frequently introduced with a label, |
| 33 | such as <quote>A:</quote>. If a <sgmltag>Question</sgmltag> has a |
| 34 | <literal>Label</literal> child element, the content of that |
| 35 | <sgmltag>Label</sgmltag> is used as the label for the |
| 36 | <sgmltag>Question</sgmltag>. The <sgmltag |
| 37 | class='attribute'>DefaultLabel</sgmltag> attribute on the nearest |
| 38 | ancestor <sgmltag>QandASet</sgmltag> of a <sgmltag>Question</sgmltag> |
| 39 | can be used to indicate that a processing application should |
| 40 | automatically generate a label for the <sgmltag>Question</sgmltag>. |
| 41 | </para> |
| 42 | </refsect2> |
| 43 | |
| 44 | |
| 45 | &question.parents.gen; |
| 46 | &question.children.gen; |
| 47 | </refsect1> |
| 48 | <refsect1><title>Examples</title> |
| 49 | |
| 50 | &question.example.seealso.gen; |
| 51 | </refsect1> |
| 52 | </refentry> |
| 53 | |
| 54 |