att.global

att.global provides attributes common to all elements in the TEI encoding scheme. [1.3.1.1. Global Attributes]
Moduletei
MembersTEI ab abbr abstract accMat acquisition add addName addSpan additional additions addrLine address adminInfo altIdentifier am analytic anchor annotationBlock app application author authority availability back bibl biblFull biblScope biblStruct binaryObject binding bindingDesc birth bloc body c cRefPattern calendar calendarDesc catDesc catRef catchwords category cb cell change charDecl charProp choice cit citeData citeStructure citedRange classCode classDecl collation collection colophon condition conversion corr correction correspAction correspContext correspDesc country creation custEvent custodialHist damage date dateline death decoDesc decoNote del delSpan depth desc dim dimensions distinct distributor district div divGen docAuthor docDate docEdition docImprint docTitle edition editionStmt editor editorialDecl ellipsis email emph encodingDesc epigraph event ex expan explicit extent facsimile figDesc figure fileDesc filiation finalRubric floatingText floruit foliation foreign forename form front funder fw g gap gb gen genName geo geoDecl geogFeat geogName gloss glyph glyphName graphic group handDesc handNote handNotes handShift head headItem headLabel height heraldry history hyphenation idno imprint incipit index institution interp interpGrp interpretation item join keywords l label lang langUsage language layout layoutDesc lb lem lg licence line link linkGrp list listAnnotation listApp listBibl listChange listEvent listNym listObject listOrg listPerson listPlace listPrefixDef listRelation listTranspose localName localProp location locus locusGrp m mapping material measure measureGrp media meeting mentioned metamark milestone mod monogr msContents msDesc msFrag msIdentifier msItem msItemStruct msName msPart musicNotation name namespace normalization notatedMusic note noteGrp notesStmt num nym object objectDesc objectIdentifier objectName objectType offset org orgName orig origDate origPlace origin p particDesc path pb pc persName persPronouns person personGrp persona phr physDesc place placeName postBox postCode precision prefixDef principal profileDesc projectDesc provenance ptr pubPlace publicationStmt publisher punctuation q quotation quote rb rdg rdgGrp recordHist redo ref refState refsDecl reg region relatedItem relation rendition repository resp respStmt retrace revisionDesc roleName row rs rt rubric ruby s said samplingDecl schemaRef scriptDesc scriptNote seal sealDesc secFol secl seg segmentation series seriesStmt settingDesc settlement sic signatures soCalled source sourceDesc sourceDoc sp speaker sponsor stage stamp standOff state stdVals street styleDefDecl subst substJoin summary supplied support supportDesc surface surfaceGrp surname surplus surrogates table tagUsage tagsDecl taxonomy teiCorpus teiHeader term text textClass textLang time title titleStmt transcriptionDesc transpose typeDesc typeNote unclear undo unicodeProp unihanProp unit unitDecl unitDef value variantEncoding w watermark width wit xenoData zone
AttributesAttributes att.global.rendition (@rend, @style, @rendition) att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select) att.global.analytic (@ana) att.global.facs (@facs) att.global.change (@change) att.global.responsibility (@cert, @resp) att.global.source (@source)
xml:id(identifier) provides a unique identifier for the element bearing the attribute.
Status Optional
Datatype
Note

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

n(number) gives a number (or other label) for an element, which is not necessarily unique within the document.
Status Optional
Datatype
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
<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.

Only attributes with free text values (rare in these guidelines) will be in the scope of xml:lang.

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 https://www.w3.org/International/questions/qa-choosing-language-tags.en.php.

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.

xml:baseprovides a base URI reference with which applications can resolve relative URI references into absolute URI references.
Status Optional
Datatype
<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
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.