Text Encoding Initiative

The XML Version of the TEI Guidelines

global


global defines a set of attributes common to all elements in the TEI encoding scheme.
Member of classes analysis, linking, terminology  
Members
Declaration

<!ENTITY % a.global '
      %a.terminology;
      %a.linking;
      %a.analysis;
      id ID #IMPLIED
      n CDATA #IMPLIED
      lang IDREF %INHERITED;
      rend CDATA #IMPLIED'> 
Attributes (In addition to global attributes and those inherited from analysis, linking, terminology)
id (identifier) provides a unique identifier for the element bearing the ID value.
Datatype: ID
Values: any valid name.
Default: #IMPLIED
Example:
<p id="names">Paragraph with the ID <mentioned>names</mentioned>.</p> 
<p id="dates">Paragraph with the ID <mentioned>dates</mentioned>.</p> 
Note

The id attribute may be used to specify a canonical reference for an element; see section 6.9 Reference Systems.

n (number, name, etc.) gives a number (or other label) for an element, which is not necessarily unique within the document.
Datatype: CDATA
Values: any string of characters; often, but not necessarily, numeric.
Default: #IMPLIED
Example:

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.

lang (language) indicates the language of the element content, usually using a two- or three-letter code from ISO 639.
Datatype: IDREF
Values: The value must be the identifier of a <language> element supplied in the TEI Header of the current document; that element may also specify a writing system declaration by means of its wsd attribute, as described in section 5.4.2 Language Usage.
Default: %INHERITED;
Example:
<p lang="en">The only surviving work by <name>Ari</name>
(died 1148) is the ten-page 
<title lang="is">Íslendingabók</title> 
(<title lang="la">Libellus Islandorum</title>), written in the early 
twelfth century.</p>
Note

If no value is specified for lang, the lang value for the immediately enclosing element is inherited; for this reason, a value should always be specified on the outermost element (<TEI.2>).

rend (rendition or presentation) indicates how the element in question was rendered or presented in the source text.
Datatype: CDATA
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.
Default: #IMPLIED
Example:

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.

Note

The global attributes described here are made part of the attribute definition list declaration of each element by including the string ‘%a.global;’ in each such declaration. Some global attributes are made available when certain base or additional tag sets are selected; these are incorporated into the global attributes by references to the appropriate parameter entities. When the tag sets in question have not been selected, the parameter entities in question expand to the empty string.

Module Declared in file teiclas2.ent; Core tag sets: enabled when any TEI base is enabled
Class terminology; linking; analysis
See further 3.5 Global Attributes

Up: 33 Element Classes