Noeud:Questions/Answers, Noeud « Next »:, Noeud « Previous »:Graphics, Noeud « Up »:Other Block Elements



Questions/Answers


QandASet = ( ( Title, TitleAbbrev? )?,
             (%qandaset.mix;)*,
             ( QandADiv+ | QandAEntry+ )
           )

QandADiv = ( ( Title, TitleAbbrev? )?,
             (%qandaset.mix;)*,
             ( QandADiv+ | QandAEntry+ )
           )

QandAEntry = ( RevHistory?, Question, Answer* )

Question = ( Label?, (%qandaset.mix;)+ )

Answer = ( Label?, (%qandaset.mix;)*, QandAEntry*)

Elements : QandASet, Title, TitleAbbrev, QandADiv, QandAEntry, RevHistory, Question, Answer, Label.

Attributes : DefaultLabel.

qanda
number
none

<qandaset defaultlabel="qanda">
  <qandaentry>
    <question>
      <simpara>two and two make</simpara>
    </question>
    <answer>
      <simpara>Four</simpara>
    </answer>
  </qandaentry>
</qandaset>
<qandaset defaultlabel="number">
  <qandaentry>
    <question>
      <simpara>Two and two make</simpara>
    </question>
    <answer>
      <simpara>Four</simpara>
    </answer>
  </qandaentry>
</qandaset>
<qandaset defaultlabel="none">
  <qandaentry>
    <question>
      <simpara>Two and two make</simpara>
    </question>
    <answer>
      <simpara>Four</simpara>
    </answer>
  </qandaentry>
</qandaset>
<qandaset defaultlabel="none">
  <qandaentry>
    <question>
      <label>Question :</label>
      <simpara>Two and two make</simpara>
    </question>
    <answer>
      <label>Answer :</label>
      <simpara>Four</simpara>
    </answer>
  </qandaentry>
</qandaset>