Working towards the next version of the SWIM Supporting Material

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This example shows how to embed a mapping into an XML schema document using the annotation element. It shows how the trace (or multiple traces) should use the AIRM's unique identifier as required by SWIM-INFO-019. Further mapping examples are available on the Understanding and recording mappings page.

Code Block
languagexml
titleExample of SWIM-INFO-014
linenumberstrue
<xs:annotation> 
 <xs:documentation>  
  <semanticCorrespondence>   
   <mapping>    
     <trace><trace type="informationConceptTrace">-AIRM unique identifier-</trace>
    ...
     <trace><trace type="narrowingTrace">-AIRM unique identifier-</trace>   
   </mapping>  
  </semanticCorrespondence> 
 </xs:documentation>
</xs:annotation> 

...