<lcSingleSelect>

The <lcSingleSelect> element was deprecated in DITA version 1.3. It was replaced with the <lcSingleSelect2> element. It was originally intended to present three or more choices, only one of which is correct.

Content models

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

Inheritance

+ topic/fig learningInteractionBase-d/lcInteractionBase learning-d/lcSingleSelect

Example

   <!--Single select Interaction                    -->
   <lcSingleSelect id="singleselect">
    <title>Multiple Choice - IEEE standards trivia</title>
    <lcQuestion>Which one of the listed standards committees is responsible for
developing the token ring specification?</lcQuestion>
    <lcAnswerOptions>
     <lcAnswerOption>
      <lcAnswerContent>IEEE 802.3</lcAnswerContent>
      <lcFeedback>Sorry. A little low.</lcFeedback>
     </lcAnswerOption>
     <lcAnswerOption>
      <lcAnswerContent>IEEE 802.5</lcAnswerContent>
      <lcCorrectResponse/>
      <lcFeedback>That's the one.</lcFeedback>
     </lcAnswerOption>
     <lcAnswerOption>
      <lcAnswerContent>IEEE 802.6</lcAnswerContent>
      <lcFeedback>Nope. Too high.</lcFeedback>
     </lcAnswerOption>
     <lcAnswerOption>
      <lcAnswerContent>IEEE 802.11</lcAnswerContent>
      <lcFeedback>Nope. Way too high.</lcFeedback>
     </lcAnswerOption>
    </lcAnswerOptions>
   </lcSingleSelect>
  

Attributes

The following attributes are available on this element: Universal attribute group (with a narrowed definition of @id, given below) and @outputclass.

@id (REQUIRED)
Defines an ID by which the element can be referenced.

Was this helpful?