att.pointing

att.pointing defines a set of attributes used by all elements which point to other elements by means of one or more URI references. [1.3.1.1.2 Language Indicators 3.6 Simple Links and Cross-References]
Moduletei — The TEI Infrastructure
Membersatt.pointing.group [altGrp joinGrp linkGrp] calendar catRef citedRange gloss join licence link locus note oRef oVar pRef pVar ptr ref span substJoin term witDetail
AttributesAttributes
targetLangspecifies the language of the content to be found at the destination referenced by target, using a ‘language tag’ generated according to BCP 47.
Status Optional
Datatype

<rng:ref name="data.language"/>
data.language
Schematron

<sch:rule
 context="tei:*[not(self::tei:schemaSpec)][@targetLang]">

<sch:assert test="count(@target)">@targetLang can only be used if @target is specified.</sch:assert></sch:rule>
Values The value must conform to BCP 47. If the value is a private use code (i.e., starts with x- or contains -x-), a language element with a matching value for its ident attribute should be supplied in the TEI header to document this value. Such documentation may also optionally be supplied for non-private-use codes, though these must remain consistent with their (IETF)Internet Engineering Task Force definitions.
<linkGrp xml:id="pol-swh_aln_2.1-linkGrp">
 <ptr
   xml:id="pol-swh_aln_2.1.1-ptr"
   target="pol/UDHR/text.xml#pol_txt_1-head"
   type="tuv"
   targetLang="pl"/>

 <ptr
   xml:id="pol-swh_aln_2.1.2-ptr"
   target="swh/UDHR/text.xml#swh_txt_1-head"
   type="tuv"
   targetLang="sw"/>

</linkGrp>

In the example above, the linkGrp combines pointers at parallel fragments of the Universal Declaration of Human Rights: one of them is in Polish, the other in Swahili.

targetspecifies the destination of the reference by supplying one or more URI References
Status Optional
Datatype 1–∞ occurrences of 

<rng:ref name="data.pointer"/>
data.pointer
separated by whitespace
Values One or more syntactically valid URI references, separated by whitespace. Because whitespace is used to separate URIs, no whitespace is permitted inside a single URI. If a whitespace character is required in a URI, it should be escaped with the normal mechanism, e.g. TEI%20Consortium.
evaluatespecifies the intended meaning when the target of a pointer is itself a pointer.
Status Optional
Datatype

<rng:ref name="data.enumerated"/>
data.enumerated
Legal values are:
all
if the element pointed to is itself a pointer, then the target of that pointer will be taken, and so on, until an element is found which is not a pointer.
one
if the element pointed to is itself a pointer, then its target (whether a pointer or not) is taken as the target of this pointer.
none
no further evaluation of targets is carried out beyond that needed to find the element specified in the pointer's target.
Note

If no value is given, the application program is responsible for deciding (possibly on the basis of user input) how far to trace a chain of pointers.