`global` | defines attributes common to all elements in the TEI encoding scheme.

Attributes:

`id` | (identifier) provides a unique identifier for the element bearing the ID value.
| Datatype: ID
| Values: any valid SGML name (in the reference concrete syntax, a name must begin with a letter and contain only letters, numeric digits, hyphen, and full stop).
| Default: #IMPLIED

Example:

      <p id=names>Paragraph with the ID <mentioned>names</>....
      <p id=dates>Paragraph with the ID <mentioned>dates</>....

Note | The `id` attribute may be used to specify a canonical reference for an element; see section 6.9 .

`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 specified for a writing system declaration declared in the TEI header, as described in section 5 .
| Default: %INHERITED

Example:

    <p lang=EN>The only surviving work by <rs>Ari</></rs>
    (died 1148) is the ten-page <title
    lang=IS>Íslendingabók</> (<title
    lang=LA>Libellus Islandorum</>), written in the early
    twelfth century.

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.

Tagset base tag set for common core features
Class analysis, linking, terminology
Filename `teiclas2.ent`
Parents[none]
Members
Declaration `<!ENTITY % a.global ' %a.analysis %a.linking %a.terminology id ID #IMPLIED n CDATA #IMPLIED lang IDREF %INHERITED rend CDATA #IMPLIED' >`
See 3.5

Back to index