att.global
att.global provides attributes common to all elements in the TEI encoding scheme. [1.3.1.1. Global Attributes]
| Module | tei | ||||||||||||||||||||||||||
| Members | NB TEI ab abbr abstract activity add addName additional address adminInfo affiliation am att author bibl biblStruct body byline catDesc catRef category cell change char charDecl choice cit closer code collection compliment corr correspAction correspContext correspDesc creation custodialHist damage dateline del desc div divGen docAuthor docDate docEdition docImprint docTitle editor egXML ellipsis emph enclosure encodingDesc epigraph expan extent facsimile figDesc figure fileDesc floruit foreign forename front fw g gap genName geo gi gloss graphic handNote handNotes handShift head hi history idno imprimatur imprint item l label langKnown langUsage language lb lg linkGrp list listBibl listChange listObject listOrg listPerson listPlace listPrefixDef localProp location locusGrp mapping measure measureGrp mentioned metamark milestone msContents msDesc msIdentifier msItem msName msPart name nameLink note noteGrp notesStmt num objectDesc objectName occupation opener org orgName orig origin p persName person persona physDesc place placeName postscript prefixDef profileDesc projectDesc ptr pubPlace publicationStmt publisher quote ref reg rendition repository request resp respStmt revisionDesc roleName row rs salute setting settingDesc settlement sic signed soCalled sourceDesc sp speaker standOff subst summary supportDesc surface surfaceGrp surname surplus surrogates table tag tagsDecl taxonomy teiHeader term text textClass title titlePage titlePart titleStmt trailer unclear val w zone | ||||||||||||||||||||||||||
| Attributes |
att.global.rendition
style
rendition
att.global.linking
corresp
copyOf
next
prev
att.global.source
source
|
||||||||||||||||||||||||||
| Schematron |
<sch:pattern> <sch:rule context="*[@xml:id]"> <sch:let name="allIds" value="//*[@xml:id]/@xml:id"/> <sch:let name="myId" value="@xml:id"/> <sch:assert test="count($allIds[. = $myId]) = 1">ERROR: Duplicate id found<sch:value-of select="$myId"/> </sch:assert> </sch:rule> </sch:pattern> |
||||||||||||||||||||||||||
| Source | Github
<classSpec rend="change" module="tei" xml:id="GLOBAL" type="atts" ident="att.global"> <desc>provides attributes common to all elements in the TEI encoding scheme.</desc> <classes> <memberOf key="lim.att.global.fragmentable"/> <memberOf key="att.global.rendition"/> <memberOf key="att.global.linking"/> <memberOf key="att.global.source"/> </classes> <attList> <attDef ident="xml:id" usage="opt"> <gloss>identifier</gloss> <desc>provides a unique identifier for the element bearing the attribute.</desc> <datatype> <dataRef name="ID"/> </datatype> </attDef> <attDef ident="n" usage="opt"> <gloss>number</gloss> <desc>gives a number (or other label) for an element, which is not necessarily unique within the document.</desc> <datatype maxOccurs="1"> <dataRef key="teidata.text"/> </datatype> </attDef> <attDef ident="xml:lang" usage="opt"> <gloss>language</gloss> <desc>indicates the language of the element content using a <soCalled>tag</soCalled> generated according to <ref target="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">BCP 47</ref>.</desc> <datatype> <dataRef key="teidata.language"/> </datatype> </attDef> </attList> </classSpec> |
||||||||||||||||||||||||||