An lcSingleSelect interaction presents three or more choices, only one of which is correct.
| Doctype | Content model |
|---|---|
| learningAssessment, learningContent, learningOverview, learningPlan, learningSummary | ( (title) (optional) then (lcQuestion) then (lcAsset) (optional) then (lcAnswerOptionGroup) then (lcFeedbackIncorrect) (optional) then (lcFeedbackCorrect) (optional) then (data) (any number) ) |
<!--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>
| Name | Description | Data Type | Default Value | Required? |
|---|---|---|---|---|
| id | Defines an ID by which the element may be referenced. | NMTOKEN | #REQUIRED | Yes |
| conref-atts attribute group (conref, conrefend, conaction, conkeyref) | A set of related attributes; includes all of the attributes described in id-atts attribute group except for the id attribute. | |||
| select-atts attribute group (props, base, platform, product, audience, otherprops, importance, rev, status) | A set of related attributes, described in select-atts attribute group | |||
| localization-atts attribute group (translate, xml:lang, dir) | A set of related attributes, described in localization-atts attribute group. | |||
| global-atts attribute group (xtrf, xtrc) | A set of related attributes, described in global-atts attribute group | |||
| class, outputclass | Common attributes described in Other common DITA attributes |
Return to main page.
OASIS DITA Version 1.2 -- OASIS Standard, 1 December 2010
Copyright © OASIS Open 2005, 2010. All Rights Reserved.