<lcMatching2>

In a <lcMatching2> interaction, the learner identifies the correct choice that matches another choice and, optionally, any feedback for the pair or for correct or incorrect matches. This element replaces the <lcMatching> 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/lcMatching2

Example

<!--Matching Interaction                    -->
<lcMatching2>
  <lcInteractionLabel2>Matching teams with cities</lcInteractionLabel2>
  <lcQuestion2>Match the team with the city.</lcQuestion2>
  <lcMatchTable2>
    <lcMatchingHeader2>
      <lcItem2>Team</lcItem2>
      <lcMatchingItem2>City</lcMatchingItem2>
    </lcMatchingHeader2>
    <lcMatchingPair2>
      <lcItem2>Boston</lcItem2>
      <lcMatchingItem2>Red Sox</lcMatchingItem2>
      <lcMatchingItemFeedback2>
        <lcFeedbackCorrect2>The Red Sox play in Boston's Fenway Park</lcFeedbackCorrect2>
        <lcFeedbackIncorrect2>That is not Boston's home team</lcFeedbackIncorrect2>
      </lcMatchingItemFeedback2>
    </lcMatchingPair2>
    <lcMatchingPair2>
      <lcItem2>San Francisco</lcItem2>
      <lcMatchingItem2>Giants</lcMatchingItem2>
      <lcMatchingItemFeedback2>
        <lcFeedbackCorrect2>The Giants play in San Franciso's Candlestick Park</lcFeedbackCorrect2>
        <lcFeedbackIncorrect2>That is not San Franciso's home team</lcFeedbackIncorrect2>
      </lcMatchingItemFeedback2>
    </lcMatchingPair2>
    <lcMatchingPair2>
      <lcItem2>Chicago</lcItem2>
      <lcMatchingItem2>Cubs</lcMatchingItem2>
      <lcMatchingItemFeedback2>
        <lcFeedbackCorrect2>The Cubs play in Chicago's Wrigley Field</lcFeedbackCorrect2>
        <lcFeedbackIncorrect2>That is not Chicago's home team.</lcFeedbackIncorrect2>
      </lcMatchingItemFeedback2>
    </lcMatchingPair2>
    <lcMatchingPair2>
      <lcItem2>Toronto</lcItem2>
      <lcMatchingItem2>Blue Jays</lcMatchingItem2>
      <lcMatchingItemFeedback2>
        <lcFeedbackCorrect2>The Blue Jays play in Toronto's SkyDome</lcFeedbackCorrect2>
        <lcFeedbackIncorrect2>That is not Toronto's home team.</lcFeedbackIncorrect2>
      </lcMatchingItemFeedback2>
    </lcMatchingPair2>
  </lcMatchTable2>
</lcMatching2>
  

Attributes

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

Was this helpful?