<lcMatching>

The <lcMatching> element was deprecated in DITA version 1.3. It was replaced with the <lcMatching2> element. It was originally intended to allow the learner to identify the correct choice that matches another choice and, optionally, any feedback for the pair or for correct or incorrect matches.

Content models

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

Inheritance

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

Example

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

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?