ref-type

Type of Cross-Reference

Type of element that is the target of the cross-reference (for example, a figure (“fig”), a table (“table”), or a footnote (“fn”). The values may be used for type-specific processing or validation.

Remarks

The <xref> element may be used to reference anything that has an @id attribute. This single element takes the place of the many named types of references (such as figure references, table references, and footnote references) that are common in many tag sets. This attribute preserves the information from such tag sets concerning the type of element to which the cross-reference is pointing.

Used on Element: <xref>

ValueMeaning
affAffiliation.
appAppendix.
author-notesAuthor notes.
bibrBibliographic reference (typically to a <ref> element, but it may point to a <element-citation> or an <mixed-citation> if there are multiple citations inside the <ref> element).
boxed-textTextbox or sidebar.
chemChemical structure (to a <chem-struct> or <chem-struct-wrap> element).
contribContributor.
collabCollaboration.
correspCorresponding author.
disp-formulaDisplay formula.
figFigure or group of figures (to a <fig> or <fig-group> element).
fnFootnote.
kwdKeyword.
listList or list item (to a <list> or <list-item> element; also, possibly to a <def-list> or <def-item> element).
otherNone of the items listed.
platePlate.
schemeScheme.
secSection.
statementStatement.
supplementary-materialSupplementary information.
tableTable or group of tables (to a <table-wrap> or <table-wrap-group> element).
table-fnTable footnote.
RestrictionThis is an optional attribute; there is no default.

Example 1

A cross-reference to a figure:
...
<sec id="s5_1">
 <label>5.1</label>
 <title>Two approaches to addressing accessibility in 
  standards</title>
 ...
 <p><xref ref-type="fig" rid="f1">Figure 1</xref> provides 
  a graphical summary of how this Guide can be used.</p>
 <fig id="f1" orientation="portrait" position="anchor">
  <label>Figure 1</label>
  <caption>
   <title>Two approaches to address accessibility in 
    standards</title>
  </caption>
  <graphic xlink:href="g3658.jpg"/>
 </fig>
 ...
</sec>
...  

Example 2

A cross-reference to a bibliographic citation:
...
<back>
 <app-group>
  <app content-type="inform-annex" id="annA">
   <label>Annex A</label>
   <annex-type>(informative)</annex-type>
   <title>Global trends supporting accessibility</title>
   ...
   <sec id="A1">
    <label>A.1</label>
    <title>Trends in global demographics and market diversity</title>
    <p>According to the <italic>World Report on Disability</italic> 
     (published by the World Health Organization and the World Bank 
     in June 2011,<sup><xref ref-type="bibr" rid="bibr40">[40]</xref></sup> 
     approximately 15 % of the world population (over one billion 
     people) has ...</p>
   </sec>
   ...
  </app>
 </app-group>
 <ref-list>
  <title>Bibliography</title>
  ...
  <ref id="bibr40">
   <label>[40]</label>
   <mixed-citation
    ><person-group><collab>World Health Organization</collab>, 
     <collab>World Bank</collab></person-group>. 
    <year iso-8601-date="2011">2011</year>), 
    <source>World Report on Disability</source>, 
    <publisher-loc>Geneva</publisher-loc>, available at: 
    <ext-link 
      xlink:href="http://www.who.int/disabilities/world_report/2011/en/index.html"
     >http://www.who.int/disabilities/world_report/2011/en/index.html</ext-link
   ></mixed-citation>
  </ref>
 </ref-list>
</back>
...