Skip to content

<xr>

cross-reference phrase

contains a phrase, sentence, or icon referring the reader to some other location in this or another text.

Module dictionariesDITPXR

Attributes

@typeindicates the type of cross reference, using any convenient typology.
Status
Recommended
Datatype
teidata.enumerated
Sample values
syn
(synonym) cross reference for synonym information
etym
(etymological) etymological information
cf
(compare or consult) related or similar term
illus
(illustration) illustration of an object
<div type="verse">
  <head>Night in Tarras</head>
  <lg type="stanza">
    <l>At evening tramping on the hot white road</l>
    <l>…</l>
  </lg>
  <lg type="stanza">
    <l>A wind sprang up from nowhere as the sky</l>
    <l>…</l>
  </lg>
</div>

Classes and content

Member of
May contain

dictionaries

gaiji

textstructure

Character data

  • character data
Contained by

core

namesdates

Note

May contain character data and phrase-level elements; usually contains a ref or a ptr element.

This element encloses both the actual indication of the location referred to, which may be tagged using the ref or ptr elements, and any accompanying material which gives more information about why the reader is being referred there.

Example

<entry>
  <form>
    <orth>lawful</orth>
  </form>
  <xr type="syn">SYN. see <ref>legal</ref>
  </xr>
</entry>

Content model

<content>
    
      <alternate minOccurs="0" maxOccurs="unbounded">
        <textNode/>
        <classRef key="model.gLike"/>
        <classRef key="model.phrase"/>
        <classRef key="model.inter"/>
        <elementRef key="usg"/>
        <elementRef key="lbl"/>
        <classRef key="model.global"/>
      </alternate>
    
  </content>