<lcAnswerOption2>

The <lcAnswerOption2> element in an assessment interaction provides the content and feedback for a question option, and can indicate the correct option. This element replaces the <lcAnswerOption> element in DITA 1.2.

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

+ topic/li learningInteractionBase2-d/li learning2-d/lcAnswerOption2

Example

This section is non-normative.


   <!--Single select Interaction                    -->
   <lcSingleSelect2 id="singleselect">
    <lcInteractionLabel2>Multiple Choice - IEEE standards trivia</lcInteractionLabel2>
    <lcQuestion2>Which one of the listed standards committees is responsible for
developing the token ring specification?</lcQuestion2>
    <lcAnswerOptionGroup2>
     <lcAnswerOption2>
      <lcAnswerContent2>IEEE 802.3</lcAnswerContent2>
      <lcFeedback2>Sorry. A little low.</lcFeedback2>
     </lcAnswerOption2>
     <lcAnswerOption2>
      <lcAnswerContent2>IEEE 802.5</lcAnswerContent2>
      <lcCorrectResponse2/>
      <lcFeedback2>That's the one.</lcFeedback2>
     </lcAnswerOption2>
     <lcAnswerOption2>
      <lcAnswerContent2>IEEE 802.6</lcAnswerContent2>
      <lcFeedback2>Nope. Too high.</lcFeedback2>
     </lcAnswerOption2>
     <lcAnswerOption2>
      <lcAnswerContent2>IEEE 802.11</lcAnswerContent2>
      <lcFeedback2>Nope. Way too high.</lcFeedback2>
     </lcAnswerOption2>
    </lcAnswerOptionGroup2>
   </lcSingleSelect2>
  

Content model

<lcAnswerContent2>, <lcCorrectResponse2>?, <lcFeedback2>?

Contained by

<lcAnswerOptionGroup2>

In order
  1. <lcAnswerContent2>
  2. Optional <lcCorrectResponse2>
  3. Optional <lcFeedback2>

Contained by

  • <lcAnswerOptionGroup2>

Inheritance

+ topic/li learningInteractionBase2-d/li learning2-d/lcAnswerOption2

The <lcAnswerOption2> element is specialized from <li>. It is defined in the learning2-domain module.

Attributes

The following attributes are available on this element: Universal attribute group and outputclass.