att.global

att.global provides attributes common to all elements in the TEI encoding scheme. 1.3.1.1 Global Attributes
Moduletei — 1 The TEI Infrastructure
Members
Attributes [att.global.linking att.global.analytic att.global.facs ]
xml:id(identifier) provides a unique identifier for the element bearing the attribute.
Status Optional
Datatype
xsd:ID
Values any valid XML identifier .
Note
The xml:id attribute may be used to specify a canonical reference for an element; see section 3.10 Reference Systems.
n(number) gives a number (or other label) for an element, which is not necessarily unique within the document.
Status Optional
Datatype 1–∞ occurrences of
data.word
separated by whitespace
Values any string of characters; often, but not necessarily, numeric.
Note
The n attribute may be used to specify the numbering of chapters, sections, list items, etc.; it may also be used in the specification of a standard reference system for the text.
xml:lang(language) indicates the language of the element content using a ‘tag’ generated according to BCP 47
Status Optional
Datatype
data.language
Values The value must conform to BCP 47. If the value is a private use code (i.e., starts with x- or contains -x-) it should, and if not it may, match the value of an ident attribute of a language element supplied in the TEI Header of the current document.
Note
If no value is specified for xml:lang, the xml:lang value for the immediately enclosing element is inherited; for this reason, a value should always be specified on the outermost element (TEI).
rend(rendition) indicates how the element in question was rendered or presented in the source text.
Status Optional
Datatype 1–∞ occurrences of
data.word
separated by whitespace
Values any string of characters; if the typographic rendition of a text is to be systematically recorded, a systematic set of values for the rend attribute should be defined.
<head rend="align(center) case(allcaps)">
 <lb/>To The
<lb/>Duchesse
<lb/>of
<lb/>Newcastle,
<lb/>On Her
<lb/>
 <hi rend="case(mixed)">New Blazing-World</hi>.

</head>
Note
These Guidelines make no binding recommendations for the values of the rend attribute; the characteristics of visual presentation vary too much from text to text and the decision to record or ignore individual characteristics varies too much from project to project. Some potentially useful conventions are noted from time to time at appropriate points in the Guidelines.
renditionpoints to a description of the rendering or presentation used for this element in the source text.
Status Optional
Datatype 1–∞ occurrences of
data.pointer
separated by whitespace
Values one or more URIs, separated by white space.
<head rendition="#ac #sc">
 <lb/>To The
<lb/>Duchesse
<lb/>of
<lb/>Newcastle,
<lb/>On Her
<lb/>
 <hi rendition="#no">New Blazing-World</hi>.

</head>
<!-- elsewhere... -->
<rendition xml:id="scscheme="css">font-variant: smallcaps</rendition>
<rendition xml:id="noscheme="css">font-variant: normal</rendition>
<rendition xml:id="acscheme="css">text-align: center</rendition>
Note
The rendition attribute is used in a very similar way to the class attribute defined for XHTML but with the important distinction that its function is to describe the appearance of the source text, not necessarily to determine how that text should be presented on screen or paper.
Where both rendition and rend are supplied, the latter is understood to override or complement the former.
Each URI provided should indicate a rendition element defining the intended rendition in terms of some appropriate style language, as indicated by the scheme attribute.
xml:baseprovides a base URI reference with which applications can resolve relative URI references into absolute URI references.
Status Optional
Datatype
data.pointer
Values any syntactically valid URI reference.
<div type="bibl">
 <head>Bibliography</head>
 <listBibl
   xml:base="http://www.lib.ucdavis.edu/BWRP/Works/">

  <bibl n="1">
   <author>
    <name>Landon, Letitia Elizabeth</name>
   </author>
   <ref target="LandLVowOf.sgm">
    <title>The Vow of the Peacock</title>
   </ref>
  </bibl>
  <bibl n="2">
   <author>
    <name>Compton, Margaret Clephane</name>
   </author>
   <ref target="NortMIrene.sgm">
    <title>Irene, a Poem in Six Cantos</title>
   </ref>
  </bibl>
  <bibl n="3">
   <author>
    <name>Taylor, Jane</name>
   </author>
   <ref target="TaylJEssay.sgm">
    <title>Essays in Rhyme on Morals and Manners</title>
   </ref>
  </bibl>
 </listBibl>
</div>
Note
The global attributes described here are made part of the attribute definition list declaration of each element by including a reference to the pattern att.global.attributes in each such declaration.