Skip to main content

Control Numbering on Q & A Lists

By default, question and answer lists (FAQs) are numbered, as defined in DocBook XML. If you prefer, you can set your question and answer lists to have no numbering or to use Q: and A: prefixes instead.

To control the numbering:

  1. Edit the topic that contains the qandaset list. Select any part of the list and then select the qandaset element in the element structure menu.

    qandaset-selected-element-structure-menu.jpg
  2. Use the Element attributes section to give it the defaultlabel attribute, and set the value of the attribute:

    • none

      The questions and answers will have no prefix. The question text is bold and the answer is regular text.

    • number

      The questions are numbered.

    • qanda

      The questions have a Q: prefix and the answers have an A: prefix.

    qandaset-attributes.jpg
  3. Select Save. Save icon.

When you publish the topic, the qanda list will use the formatting you have selected.