<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

This section is non-normative.

<!--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>
  

Content model

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

Not contained by any element.

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

Not contained by any element.

Inheritance

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

The <lcMatching2> 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.