<lcTrueFalse2>

A <lcTrueFalse2> interaction presents the learner with two choices, one correct, the other incorrect, often presented as true/false or yes/no responses. This element replaces the <lcTrueFalse> element in DITA 1.2.

Content models

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

Inheritance

+ topic/div learningInteractionBase2-d/lcInteractionBase2 learning2-d/lcTrueFalse2

Example

This section is non-normative.


   <!--True - False Interaction                    -->
   <lcTrueFalse2>
    <lcInteractionLabel2>True - False sun rising</lcInteractionLabel2>
    <lcQuestion2>On Earth, the sun rises in the West and sets in the East.</lcQuestion2>
    <lcAnswerOptionGroup2>
     <lcAnswerOption2>
      <lcAnswerContent2>True</lcAnswerContent2>
     </lcAnswerOption2>
     <lcAnswerOption2>
      <lcAnswerContent2>False</lcAnswerContent2>
      <lcCorrectResponse2/>
     </lcAnswerOption2>
    </lcAnswerOptionGroup2>
    <lcFeedbackIncorrect2>No, look to the East.</lcFeedbackIncorrect2>
    <lcFeedbackCorrect2>Yes, look to the East.</lcFeedbackCorrect2>
   </lcTrueFalse2>
  

Content model

<lcInteractionLabel2>?, <lcQuestion2>, <lcAsset2>*, <lcAnswerOptionGroup2>, <lcFeedbackIncorrect2>?, <lcFeedbackCorrect2>?, <data>*

Not contained by any element.

In order
  1. Optional <lcInteractionLabel2>
  2. <lcQuestion2>
  3. Zero or more <lcAsset2>
  4. <lcAnswerOptionGroup2>
  5. Optional <lcFeedbackIncorrect2>
  6. Optional <lcFeedbackCorrect2>
  7. Zero or more <data>

Not contained by any element.

Inheritance

+ topic/div learningInteractionBase2-d/lcInteractionBase2 learning2-d/lcTrueFalse2

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

Attributes

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