<abbr>
<abbr> (abbreviation) contains an abbreviation of any sort. [3.6.5. Abbreviations and Their Expansions]
Module | core | ||||||||||||
Attributes | Attributes att.global.responsibility (cert, resp) att.global (xml:id, n, xml:lang) (lim.att.global.fragmentable (part)) (att.global.rendition (rendition)) (att.global.source (source))
|
||||||||||||
Member of | |||||||||||||
Contained by |
analysis: w
core: abbr add author bibl choice corr date del desc editor emph expan foreign gloss head hi item l label mentioned name note num orig p pubPlace publisher q quote ref reg resp rs sic term time title unclear
corpus: activity
namesdates: addName affiliation birth death faith floruit forename genName langKnown nameLink nationality objectName occupation orgName persName placeName residence roleName settlement sex surname
textstructure: byline dateline docAuthor docDate docEdition docImprint imprimatur salute signed titlePart trailer
|
||||||||||||
May contain |
core: abbr add choice cit date del ellipsis emph foreign gap gloss graphic hi lb mentioned milestone name note noteGrp num orig pb ptr q quote ref reg rs sic term time title unclear
figures: figure
gaiji: g
header: idno
lim: noteMarker rule
linking: linkGrp
msdescription: locusGrp
namesdates: addName affiliation forename genName geo location nameLink objectName orgName persName placeName roleName settlement surname
character data
|
||||||||||||
Note |
If abbreviations are expanded silently, this practice should be documented in the
editorialDecl, either with a normalization element or a p.
|
||||||||||||
Examples |
<choice> <expan>North Atlantic Treaty Organization</expan> <abbr cert="low">NorATO</abbr> <abbr cert="high">NATO</abbr> <abbr cert="high" xml:lang="fr">OTAN</abbr> </choice> <choice> <abbr>SPQR</abbr> <expan>senatus populusque romanorum</expan> </choice> |
||||||||||||
Schematron |
Don't expand the ampersand only.
<sch:rule context="tei:abbr"> <sch:let name="content" value="string(.)"/> <sch:assert test="not(matches($content, '^\s*&\s*$'))">ERROR: There is no need to tag ampersands when it means "and".</sch:assert> </sch:rule> Type is required when not in choice
<sch:pattern> <sch:rule context="tei:choice/tei:abbr"> <sch:assert test="not(@type)">ERROR: Do not put a type attribute on abbrs in choice.</sch:assert> </sch:rule> <sch:rule context="tei:abbr[not(parent::tei:choice)]"> <sch:assert test="@type">ERROR: @type is required when abbr is not in a choice.</sch:assert> </sch:rule> </sch:pattern> |
||||||||||||
Source | Github
<elementSpec rend="change" module="core" ident="abbr"> <gloss>abbreviation</gloss> <desc>contains an abbreviation of any sort.</desc> <classes> <memberOf key="att.global.responsibility"/> <memberOf key="att.global"/> <memberOf key="model.pPart.editorial"/> <memberOf key="model.choicePart"/> <memberOf key="att.typed"/> </classes> <content> <macroRef key="macro.phraseSeq"/> </content> <attList> <attDef ident="type" mode="change" rend="change"> <gloss>type</gloss> <desc>allows the encoder to classify the abbreviation according to some convenient typology.</desc> <datatype> <dataRef key="teidata.enumerated"/> </datatype> <valList type="closed" mode="add"> <valItem ident="another" mode="add"> <desc>anoyr</desc> <gloss>Abbreviation for <mentioned>another</mentioned> </gloss> </valItem> <valItem ident="Brother" mode="add"> <desc>Broyr</desc> <gloss>Abbreviation for <mentioned>Brother</mentioned> </gloss> </valItem> <valItem ident="which" mode="add"> <desc>qch</desc> <gloss>Abbreviation for <mentioned>which</mentioned> </gloss> </valItem> <valItem ident="whom" mode="add"> <desc>qm</desc> <gloss>Abbreviation for <mentioned>whom</mentioned> </gloss> </valItem> <valItem ident="when" mode="add"> <desc>qn</desc> <gloss>Abbreviation for <mentioned>when</mentioned> </gloss> </valItem> <valItem ident="who" mode="add"> <desc>qo</desc> <gloss>Abbreviation for <mentioned>who</mentioned> </gloss> </valItem> <valItem ident="what" mode="add"> <desc>qt</desc> <gloss>Abbreviation for <mentioned>what</mentioned> </gloss> </valItem> <valItem ident="with" mode="add"> <desc>wt</desc> <gloss>Abbreviation for <mentioned>with</mentioned> </gloss> </valItem> <valItem ident="the" mode="add"> <desc>ye</desc> <gloss>Abbreviation for <mentioned>the</mentioned> </gloss> </valItem> <valItem ident="then" mode="add"> <desc>yn</desc> <gloss>Abbreviation for <mentioned>then</mentioned> </gloss> </valItem> <valItem ident="your" mode="add"> <desc>yr</desc> <gloss>Abbreviation for <mentioned>your</mentioned> </gloss> </valItem> <valItem ident="that" mode="add"> <desc>yt</desc> <gloss>Abbreviation for <mentioned>that</mentioned> </gloss> </valItem> <valItem ident="them" mode="add"> <desc>ym</desc> <gloss>Abbreviation for <mentioned>them</mentioned> </gloss> </valItem> <valItem ident="there" mode="add"> <desc>yre</desc> <gloss>Abbreviation for <mentioned>there</mentioned> </gloss> </valItem> <valItem ident="this" mode="add"> <desc>ys</desc> <gloss>Abbreviation for <mentioned>this</mentioned> </gloss> </valItem> <valItem ident="fm" mode="add"> <desc>fm</desc> <gloss>Abbreviation for <mentioned>from</mentioned> </gloss> </valItem> <valItem ident="qre" mode="add"> <desc>qre</desc> <gloss>Abbreviation for <mentioned>where</mentioned> </gloss> </valItem> </valList> </attDef> </attList> </elementSpec> |