att.global.linking

att.global.linking provides a set of attributes for hypertextual linking. [16. Linking, Segmentation, and Alignment]
Module linking
Members att.global [NB TEI ab abbr abstract activity add addName additional address adminInfo affiliation am att author bibl biblStruct body byline catDesc catRef category cell change char charDecl choice cit closer code collection compliment corr correspAction correspContext correspDesc creation custodialHist damage dateline del desc div divGen docAuthor docDate docEdition docImprint docTitle editor egXML ellipsis emph enclosure encodingDesc epigraph expan extent facsimile figDesc figure fileDesc floruit foreign forename front fw g gap genName geo gi gloss graphic handNote handNotes handShift head hi history idno imprimatur imprint item l label langKnown langUsage language lb lg linkGrp list listBibl listChange listObject listOrg listPerson listPlace listPrefixDef localProp location locusGrp mapping measure measureGrp mentioned metamark milestone msContents msDesc msIdentifier msItem msName msPart name nameLink note noteGrp notesStmt num objectDesc objectName occupation opener org orgName orig origin p persName person persona physDesc place placeName postscript prefixDef profileDesc projectDesc ptr pubPlace publicationStmt publisher quote ref reg rendition repository request resp respStmt revisionDesc roleName row rs salute setting settingDesc settlement sic signed soCalled sourceDesc sp speaker standOff subst summary supportDesc surface surfaceGrp surname surplus surrogates table tag tagsDecl taxonomy teiHeader term text textClass title titlePage titlePart titleStmt trailer unclear val w zone]
Attributes
corresp (corresponds) points to elements that correspond to the current element in some way.
Status Optional
Datatype 1–∞ occurrences of teidata.pointer separated by whitespace

<group>
   
<text xml:id="t1-g1-t1" xml:lang="mi">
      
<body xml:id="t1-g1-t1-body1">
         
<div type="chapter">
            
<head>He Whakamaramatanga mo te Ture Hoko, Riihi hoki, i nga Whenua Maori, 1876.</head>
            
<p></p>
         
</div>
      
</body>
   
</text>
   
<text xml:id="t1-g1-t2" xml:lang="en">
      
<body xml:id="t1-g1-t2-body1" corresp="#t1-g1-t1-body1">
         
<div type="chapter">
            
<head>An Act to regulate the Sale, Letting, and Disposal of Native Lands, 1876.</head>
            
<p></p>
         
</div>
      
</body>
   
</text>
</group>
In this example a group contains two texts, each containing the same document in a different language. The correspondence is indicated using corresp. The language is indicated using xml:lang, whose value is inherited; both the tag with the corresp and the tag pointed to by the corresp inherit the value from their immediate parent.
<!-- In a placeography called "places.xml" -->
<place xml:id="LOND1" corresp="people.xml#LOND2 people.xml#GENI1">
   
<placeName>London</placeName>
   
<desc>The city of London...</desc>
</place>
<!-- In a literary personography called "people.xml" -->
<person xml:id="LOND2" corresp="places.xml#LOND1 #GENI1">
   
<persName type="lit">London</persName>
   
<note>
      
<p>Allegorical character representing the city of <placeName ref="places.xml#LOND1">London</placeName>.</p>
   
</note>
</person>
<person xml:id="GENI1" corresp="places.xml#LOND1 #LOND2">
   
<persName type="lit">London’s Genius</persName>
   
<note>
      
<p>Personification of London’s genius. Appears as an 
          allegorical character in mayoral shows.
         
</p>
   
</note>
</person>
In this example, a place element containing information about the city of London is linked with two person elements in a literary personography. This correspondence represents a slightly looser relationship than the one in the preceding example; there is no sense in which an allegorical character could be substituted for the physical city, or vice versa, but there is obviously a correspondence between them.
copyOf points to an element of which the current element is a copy.
Status Optional
Datatype teidata.pointer
Note
Any content of the current element should be ignored. Its true content is that of the element being pointed at.
next points to the next element of a virtual aggregate of which the current element is part.
Status Optional
Datatype teidata.pointer
Note
It is recommended that the element indicated be of the same type as the element bearing this attribute.
prev (previous) points to the previous element of a virtual aggregate of which the current element is part.
Status Optional
Datatype teidata.pointer
Note
It is recommended that the element indicated be of the same type as the element bearing this attribute.
Source Github

<classSpec rend="change" predeclare="true" module="linking" xml:id="CLLINK" type="atts" ident="att.global.linking">
   
<desc>provides a set of attributes for hypertextual linking.</desc>
   
<classes/>
   
<attList>
      
<attDef ident="corresp" usage="opt">
         
<gloss>corresponds</gloss>
         
<desc>points to elements that correspond to the current
  element in some way.
</desc>
         
<datatype maxOccurs="unbounded">
            
<dataRef key="teidata.pointer"/>
         
</datatype>
      
</attDef>
      
<attDef ident="copyOf" usage="opt">
         
<desc>points to an element of which the current element is a
 copy.
</desc>
         
<datatype>
            
<dataRef key="teidata.pointer"/>
         
</datatype>
      
</attDef>
      
<attDef ident="next" usage="opt">
         
<desc>points to the next element of a virtual aggregate of which
  the current element is part.
</desc>
         
<datatype>
            
<dataRef key="teidata.pointer"/>
         
</datatype>
      
</attDef>
      
<attDef ident="prev" usage="opt">
         
<gloss>previous</gloss>
         
<desc>points to the previous element of a virtual aggregate of
  which the current element is part.
</desc>
         
<datatype>
            
<dataRef key="teidata.pointer"/>
         
</datatype>
      
</attDef>
   
</attList>
</classSpec>