att.global

att.global provides attributes common to all elements in the TEI encoding scheme. [1.3.1.1 Global Attributes]
Moduletei — The TEI Infrastructure
MembersTEI ab abbr abstract accMat acquisition activity actor add addName addSpan additional additions addrLine address adminInfo affiliation age alt altGrp altIdent alternate am analytic anchor app appInfo application arc argument att attDef attList attRef author authority availability back bibl biblFull biblScope biblStruct bicond binary binaryObject binding bindingDesc birth bloc body broadcast byline c cRefPattern caesura calendar calendarDesc camera caption case castGroup castItem castList catDesc catRef catchwords category cb cell certainty change channel char charDecl charName charProp choice cit citedRange cl classCode classDecl classRef classSpec classes climate closer code collation collection colloc colophon cond condition constitution constraint constraintSpec content corr correction country creation custEvent custodialHist damage damageSpan datatype date dateline death decoDesc decoNote def default defaultVal del delSpan depth derivation desc dictScrap dim dimensions distinct distributor district div div1 div2 div3 div4 div5 div6 div7 divGen docAuthor docDate docEdition docImprint docTitle domain eLeaf eTree edition editionStmt editor editorialDecl education eg egXML elementRef elementSpec email emph encodingDesc entry entryFree epigraph epilogue equipment equiv etym event ex exemplum expan explicit extent f fDecl fDescr fLib facsimile factuality faith figDesc figure fileDesc filiation finalRubric floatingText floruit foliation foreign forename forest form formula front fs fsConstraints fsDecl fsDescr fsdDecl fsdLink funder fvLib fw g gap gb gen genName geo geoDecl geogFeat geogName gi gloss glyph glyphName gram gramGrp graph graphic group handDesc handNote handNotes handShift head headItem headLabel height heraldry hi history hom hyph hyphenation iNode iType ident idno if iff imprimatur imprint incident incipit index institution interaction interp interpGrp interpretation item join joinGrp keywords kinesic l label lacunaEnd lacunaStart lang langKnowledge langKnown langUsage language layout layoutDesc lb lbl leaf lem lg licence line link linkGrp list listApp listBibl listChange listEvent listForest listNym listOrg listPerson listPlace listPrefixDef listRef listRelation listTranspose listWit localName locale location locus locusGrp m macroRef macroSpec mapping material measure measureGrp media meeting memberOf mentioned metDecl metSym metamark milestone mod moduleRef moduleSpec monogr mood move msContents msDesc msIdentifier msItem msItemStruct msName msPart musicNotation name nameLink namespace nationality node normalization notatedMusic note notesStmt num number numeric nym oRef oVar objectDesc objectType occupation offset opener org orgName orig origDate origPlace origin orth p pRef pVar particDesc pause pb pc per performance persName person personGrp phr physDesc place placeName population pos postBox postCode postscript precision prefixDef preparedness principal profileDesc projectDesc prologue pron provenance ptr pubPlace publicationStmt publisher purpose q quotation quote rdg rdgGrp re recordHist recording recordingStmt redo ref refState refsDecl reg region relatedItem relation relationGrp remarks rendition repository residence resp respStmt respons restore retrace revisionDesc rhyme role roleDesc roleName root row rs rubric s said salute samplingDecl schemaSpec scriptDesc scriptNote scriptStmt seal sealDesc secFol seg segmentation sense sequence series seriesStmt set setting settingDesc settlement sex shift sic signatures signed soCalled socecStatus sound source sourceDesc sourceDoc sp spGrp space span spanGrp speaker specDesc specGrp specGrpRef specList sponsor stage stamp state stdVals street stress string styleDefDecl subc subst substJoin summary superEntry supplied support supportDesc surface surfaceGrp surname surplus surrogates syll symbol table tag tagUsage tagsDecl taxonomy tech teiCorpus teiHeader term terrain text textClass textDesc textLang then time timeline title titlePage titlePart titleStmt tns trailer trait transpose tree triangle typeDesc typeNote u unclear undo unicodeName usg vAlt vColl vDefault vLabel vMerge vNot vRange val valDesc valItem valList value variantEncoding view vocal w watermark when width wit witDetail witEnd witStart witness writing xr zone
Attributesatt.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select) att.global.analytic (@ana) att.global.facs (@facs) att.global.change (@change)
xml:id(identifier) provides a unique identifier for the element bearing the attribute.
Status Optional
Datatype

<rng:data type="ID"/>
xsd:ID
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

<rng:ref name="data.text"/>
data.text
Note

The value of this attribute is always understood to be a single token, even if it contains space or other punctuation characters, and need not be composed of numbers only. It is typically 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

<rng:ref name="data.language"/>
data.language
<p> … The consequences of
this rapid depopulation were the loss of the last
<foreign xml:lang="rap">ariki</foreign> or chief
(Routledge 1920:205,210) and their connections to
ancestral territorial organization.</p>
Note

The xml:lang value will be inherited from the immediately enclosing element, or from its parent, and so on up the document hierarchy. It is generally good practice to specify xml:lang at the highest appropriate level, noticing that a different default may be needed for the teiHeader from that needed for the associated resource element or elements, and that a single TEI document may contain texts in many languages.

The authoritative list of registered language subtags is maintained by IANA and is available at http://www.iana.org/assignments/language-subtag-registry. For a good general overview of the construction of language tags, see http://www.w3.org/International/articles/language-tags/, and for a practical step-by-step guide, see http://www.w3.org/International/questions/qa-choosing-language-tags.

The value used must conform with 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.

rend(rendition) indicates how the element in question was rendered or presented in the source text.
Status Optional
Datatype 1–∞ occurrences of 

<rng:ref name="data.word"/>
data.word
separated by whitespace
<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. The values of the rend attribute are a set of sequence-indeterminate individual tokens separated by whitespace.

stylecontains an expression in some formal style definition language which defines the rendering or presentation used for this element in the source text
Status Optional
Datatype

<rng:ref name="data.text"/>
data.text
<head
  style="text-align: center; font-variant: small-caps">

 <lb/>To The <lb/>Duchesse <lb/>of <lb/>Newcastle, <lb/>On Her
<lb/>
 <hi style="font-variant: normal">New Blazing-World</hi>.
</head>
Note

Unlike the attribute values of rend, the style attribute may contain whitespace. This attribute is intended for recording inline stylistic information concerning the source, not any particular output.

The formal language in which values for this attribute are expressed may be specified using the styleDefDecl element in the TEI header.

renditionpoints to a description of the rendering or presentation used for this element in the source text.
Status Optional
Datatype 1–∞ occurrences of 

<rng:ref name="data.pointer"/>
data.pointer
separated by whitespace
<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: small-caps</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

<rng:ref name="data.pointer"/>
data.pointer
<div type="bibl">
 <head>Bibliography</head>
 <listBibl
   xml:base="http://www.lib.ucdavis.edu/BWRP/Works/">

  <bibl>
   <author>
    <name>Landon, Letitia Elizabeth</name>
   </author>
   <ref target="LandLVowOf.sgm">
    <title>The Vow of the Peacock</title>
   </ref>
  </bibl>
  <bibl>
   <author>
    <name>Compton, Margaret Clephane</name>
   </author>
   <ref target="NortMIrene.sgm">
    <title>Irene, a Poem in Six Cantos</title>
   </ref>
  </bibl>
  <bibl>
   <author>
    <name>Taylor, Jane</name>
   </author>
   <ref target="TaylJEssay.sgm">
    <title>Essays in Rhyme on Morals and Manners</title>
   </ref>
  </bibl>
 </listBibl>
</div>
xml:spacesignals an intention about how white space should be managed by applications.
Status Optional
Datatype

<rng:ref name="data.enumerated"/>
data.enumerated
Legal values are:
default
signals that the application's default white-space processing modes are acceptable
preserve
indicates the intent that applications preserve all white space
Note

The XML specification provides further guidance on the use of this attribute. Note that many parsers may not handle xml:space correctly.