## Text Encoding Initiative

### The XML Version of the TEI Guidelines

# <xr>

`<xr>` | (cross-reference phrase) contains a phrase, sentence, or icon referring the reader to some other location in this or another text.

Attributes

(In addition to global attributes and those inherited from dictionaries, dictionaryParts, dictionaryTopLevel)

`type` | indicates the type of cross reference, using any convenient typology.
| Datatype: CDATA

Sample values include:

syn | cross reference for synonym information
etym | etymological information
cf | related or similar term
illus | illustration of an object

| Default: #IMPLIED

Example:

    <xr type="cf">Compare <ref>madrigal (sense 1)</ref>
    </xr>
    <xr type="illus">see the illus. at <ref>tool</ref>
    </xr>

Example

    <entry>
       <form><orth>lavage</orth></form>
       <!-- ... -->
       <etym>[Fr. &lt; <mentioned>laver</mentioned>;
         L. <mentioned>lavare</mentioned>,
         to wash; <xr>see <ref>lather</ref></xr>].
       </etym>
       <!-- ... -->
    </entry>

Example

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

Note

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.

Module Declared in file teidict2; Base tag set for dictionaries: enabled by TEI.dictionary
Class dictionaryTopLevel; dictionaryParts; dictionaries
Data Description May contain character data and phrase-level elements; usually contains a `<ref>` or a `<ptr>` element.
May contain #PCDATA abbr add addSpan address alt altGrp anchor app bibl biblFull biblStruct c caesura camera caption castList cb certainty cit cl corr damage date dateRange dateStruct del delSpan distinct emph expan fLib figure foreign formula fs fsLib fvLib fw gap geogName gloss handShift hi index interp interpGrp join joinGrp label lang lb lbl link linkGrp list listBibl m measure mentioned milestone move name note num oRef oVar orgName orig pRef pVar pb persName phr placeName ptr q quote ref reg respons restore rs s seg sic soCalled sound space span spanGrp stage supplied table tech term text time timeRange timeStruct timeline title unclear usg view w witDetail xptr xref
May occur within dictScrap eg entry entryFree etym hom re sense trans
Declaration

    <!ELEMENT xr %om.RO;  ( #PCDATA | %m.phrase; | %m.inter; | usg
                           | lbl | %m.Incl; )* >
    <!ATTLIST xr
          %a.global;
          %a.dictionaries;
          type CDATA #IMPLIED>

See further 12.3.5.3 Cross References to Other Entries

Up: 35 Elements