DITA Best Practices : Creating FAQ entries in an FAQ topic

FAQ entries - the actual question and its corresponding answer - must be structured within the DITA file in a way that results in the accepted InfoDev formatting.

To create a complete FAQ entry within your FAQ topic:

  1. Enter a new div element and give it an outputclass attribute value of QA_.
    Note that you can select the QA_ entry from the outputclass drop menu within the attributes pane.


  2. Within the "QA_" div, create a new div and give it an outputclass attribute value of QA_q.

  3. Enter your question text within this div element.

  4. Directly after the "QA_q" div (still within the "QA_" div),  create a new div and give it an outputclass attribute value of QA_a.

  5. Enter your answer text within this div element.


When transformed, the resulting formatting for your FAQ entry appears as follows:

Attachments: