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

<rng:ref name="data.text"/>
data.text
Values the value consists of a single token which may however contain punctuation characters, whitespace or word separating characters. It need not be restricted to numbers.
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

<rng:ref name="data.language"/>
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-), 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 Internet Engineering Task Force (IETF) definitions.
<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.
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
Values may contain any number of tokens, each of which may contain letters, punctuation marks, or symbols, but not whitespace or word-separating characters.
<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.
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
Values one or more URIs, 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="sc" scheme="css">font-variant: small-caps</rendition>
<rendition xml:id="no" scheme="css">font-variant: normal</rendition>
<rendition xml:id="ac" scheme="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
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>
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.