In an lcMatching interaction, the learner identifies the correct choice that matches another choice and, optionally, any feedback for the pair or for correct or incorrect matches.
Doctype | Content model |
---|---|
learningAssessment, learningContent, learningOverview, learningPlan, learningSummary | ( (title) (optional) then (lcQuestion) then (lcAsset) (optional) then (lcMatchTable) then (lcFeedbackIncorrect) (optional) then (lcFeedbackCorrect) (optional) then (data) (any number) ) |
<!--Matching Interaction --> <lcMatching id="matching"> <title>Matching teams with cities</title> <lcQuestion>Match the team with the city.</lcQuestion> <lcMatchTable> <lcMatchingHeader> <lcItem>Team</lcItem> <lcMatchingItem>City</lcMatchingItem> </lcMatchingHeader> <lcMatchingPair> <lcItem>Boston</lcItem> <lcMatchingItem>Red Sox</lcMatchingItem> <lcMatchingItemFeedback> <lcFeedbackCorrect>The Red Sox play in Boston's Fenway Park</lcFeedbackCorrect> <lcFeedbackIncorrect>That is not Boston's home team</lcFeedbackIncorrect> </lcMatchingItemFeedback> </lcMatchingPair> <lcMatchingPair> <lcItem>San Francisco</lcItem> <lcMatchingItem>Giants</lcMatchingItem> <lcMatchingItemFeedback> <lcFeedbackCorrect>The Giants play in San Franciso's Candlestick Park</lcFeedbackCorrect> <lcFeedbackIncorrect>That is not San Franciso's home team</lcFeedbackIncorrect> </lcMatchingItemFeedback> </lcMatchingPair> <lcMatchingPair> <lcItem>Chicago</lcItem> <lcMatchingItem>Cubs</lcMatchingItem> <lcMatchingItemFeedback> <lcFeedbackCorrect>The Cubs play in Chicago's Wrigley Field</lcFeedbackCorrect> <lcFeedbackIncorrect>That is not Chicago's home team.</lcFeedbackIncorrect> </lcMatchingItemFeedback> </lcMatchingPair> <lcMatchingPair> <lcItem>Toronto</lcItem> <lcMatchingItem>Blue Jays</lcMatchingItem> <lcMatchingItemFeedback> <lcFeedbackCorrect>The Blue Jays play in Toronto's SkyDome</lcFeedbackCorrect> <lcFeedbackIncorrect>That is not Toronto's home team.</lcFeedbackIncorrect> </lcMatchingItemFeedback> </lcMatchingPair> </lcMatchTable> </lcMatching>
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.
DITA v1.2 CS 01
Copyright © OASIS Open 2005, 2010. All Rights Reserved.