Attributes | AttributestargetLang targetLang¶ | specifies 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 |
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. |
| target target¶ | specifies the destination of the reference by supplying one or more URI ReferencesStatus | Optional | Datatype | 1–∞ occurrences of
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 . |
|
|