Obtaining the TEI DTD

Full copies of the TEI DTD fragments are not repeated in this document, although they may be reconstituted by a careful reading of each chapter.

The DTD fragments are widely available over the Internet and elsewhere. At the time of publication, the following anonymous file servers are expected to carry copies of a full set. The first is a Listserv server, the others are anonymous FTP servers. listserv@uicvm.uic.edu in filelist tei-l sgml1.ex.ac.uk in directory tei/p2/dtds ftp.ifi.uio.no in directory TEI

The files are these: teiana2.dtd: tags for simple analysis teiana2.ent: parameter entities for simple analysis teiback2.dtd: tags for back matter teicert2.dtd: tags for certainty and responsibility teiclas2.ent: parameter entities for the core tag sets teicore2.dtd: core tags teicorp2.dtd: tags for additional header material for corpora and collections teidict2.dtd: tags for printed dictionaries teidict2.ent: parameter entities for printed dictionaries teidram2.dtd: tags for performance texts teidram2.ent: parameter entities for performance texts teifig2.dtd: tags for tables, formulae, and graphics teifig2.ent: parameter entities for tables, formulae, and graphics teifron2.dtd: tags for front matter teifsd2.dtd: feature system declaration teifs2.dtd: tags for feature structure annotation teigen2.dtd: tags for general base teigis2.ent: parameter entities for names of TEI elements teihdr2.dtd: tags for TEI header teikey2.ent: parameter entities for TEI keywords teilink2.dtd: tags for linking, segmentation, and alignment teilink2.ent: parameter entities for linking, segmentation, and alignment teimix2.dtd: tags for mixed base teind2.dtd: tags for names and dates teind2.ent: parameter entities for names and dates teinet2.dtd: tags for networks, graphs, digraphs, and trees teipl2.dtd: tags for concurrent markup of pages and lines teipros2.dtd: tags for prose teishd2.dtd: tags for independent header teispok2.dtd: tags for spoken texts teispok2.ent: parameter entities for spoken texts teistr2.dtd: tags for default text structure teitc2.dtd: tags for text criticism teitc2.ent: parameter entities for text criticism teiterm2.dtd: tags for terminological data teiterm2.ent: parameter entities for terminological data teite2f.dtd: tags for terminological data teite2n.dtd: tags for terminological data teitran2.dtd: tags for transcription of primary sources teitran2.ent: parameter entities for transcription of primary sources teitsd2.dtd: tags for tag set documentation teivers2.dtd: tags for verse teivers2.ent: parameter entities for verse teiwsd2.dtd: tags for writing system declaration tei2.dtd: main TEI DTD file Obtaining TEI WSDs

The TEI has produced a number of exemplary Writing System Definitions, corresponding with several major international standards. This section lists those which are currently available. In each case, the root name specified is that used for the file on the TEI file servers.

A typical public identifier for a Writing System Declaration from this list would be ]]> where xxxxx corresponds with the short name given in the list below, and YYY with the longer description provided.

Writing system declarations corresponding to some standard character sets include:

Writing system declarations documenting special sets of entities for different alphabets, or commonly used transliteration systems, include the following:

All standard TEI writing system declarations may be obtained from the same file servers as are listed in chapter . Sample Tag Set Documentation Tag Documentation for the TEI P Element

This example shows the documentation for the element p. Since this element has no attributes other than global attributes, its attList element is empty. For a formatted, printed version of this information, see the alphabetical reference section. p paragraph marks paragraphs in prose. Hallgerd was outside. There is blood on your axe, she said. What have you done?

I have now arranged that you can be married a second time, replied Thjostolf.

Then you must mean that Thorvald is dead, she said.

Yes, said Thjostolf. And now you must think up some plan for me. ]&nil]>

In some contexts, the paragraph may have a specialized meaning, e.g. in the tag set for dictionaries, p is used to enclose any running text, and thus does not imply text set off as is conventionally done in running prose. additional tag set for common core features chunk [and indirectly also:] common May contain character data and phrase-level elements. add argument availability body broadcast castList corr correction div div0 div1 div2 div3 div4 div5 div6 div7 editionStmt editorialDecl encodingDesc epigraph epilogue equipment equiv exemplum figure hyphenation interpretation item langUsage metDecl normalization note particDesc particLinks performance person personGrp projectDesc prologue publicationStmt q quotation quote recording recordingStmt refsDecl remarks samplingDecl scriptStmt segmentation seriesStmt set setting settingDesc sic sourceDesc sp stage stdVals view #PCDATA abbr add address anchor att bibl biblFull biblStruct c caesura camera caption castList cit cl corr date dateRange dateStruct del distinct emph expan figure foreign formula gap gi gloss handShift hi label lang link list listBibl m measure mentioned move name note num orig oRef oVar phr ptr pRef pVar q quote ref reg rs s seg sic sound soCalled stage table tag tech term text time timeRange timeStruct title val view w xptr xref ]&nil]> ]&nil]> ]]> Tag Documentation for the TEI HI Element

The hi element, shown below, offers an example of attribute definition. Since the attribute definition in question overrides a definition inherited from the global class, no reference is made to the entity a.global. Instead, the other global attributes are all redefined. hi highlighted marks a word or phrase as graphically distinct from the surrounding text, for reasons concerning which no claim is made. rend rendition describes the rendition or presentation of the word or phrase highlighted. CDATA a set of keywords from some suitable vocabulary; no systematic recommendations for such a vocabulary are made by these Guidelines. #IMPLIED

The rend attribute, though optional in general, is recommended on the hi element. And this Indenture further witnesseth that the said Walter Shandy, merchant, in consideration of the said intended marriage ... ]&nil]> auxiliary tag set for TEI headers hqphrase [and indirectly also:] phrase free prose abbr activity actor add addrLine addName admin affiliation author authority bibl biblScope birth bloc byline camera caption case castItem catDesc cell channel cl classCode closer colloc constitution corr country creation damage dataDesc date dateRange def del derivation desc descrip distance distinct distributor docAuthor docDate docEdition docImprint domain edition editor education emph equiv etym expan extent factuality figDesc firstLang foreign forename form fsDescr funder fw fDescr gen genName gloss gram gramGrp head headItem headLabel hi hyph imprimatur interaction item itype l label lang language langKnown lbl lem locale measure meeting mentioned mood name nameLink note num number occasion occupation opener orgdivn orgtitle orgtype orgName orig orth otherForm p per persName phr placeName pos preparedness principal pron publisher pubPlace purpose q quote rdg re ref reg region rendition residence resp restore role roleDesc roleName rs s salute seg sense set settlement sic signed socecStatus sound soCalled speaker sponsor stage street stress subc supplied surname syll symbol tagUsage tech term time timeRange title titlePart tns tr trailer trans u unclear usg valDesc view wit witness witDetail writing xr xref #PCDATA abbr add address anchor att bibl biblFull biblStruct c caesura camera caption castList cit cl corr date dateRange dateStruct del distinct emph expan figure foreign formula gap gi gloss handShift hi label lang link list listBibl m measure mentioned move name note num orig oRef oVar phr ptr pRef pVar q quote ref reg rs s seg sic sound soCalled stage table tag tech term text time timeRange timeStruct title val view w xptr xref ]&nil]> ]&nil]> ]]> Tag Documentation for the TEI Div Element

The example below shows the documentation for the div element; this element is a member of the class divn, the documentation for which is shown further below. div text division contains a subdivision of the front, body, or back of a text.

Fallacies of Authority The subject of which is Authority in various shapes, and the object, to repress all exercise of the reasoning faculty.
The Nature of Authority

With reference to any proposed measures having for their object the greatest happiness of the greatest number....

Analysis of Authority

What on any given occasion is the legitimate weight or influence to be attached to authority

Appeal to Authority, in What Cases Fallacious.

Reference to authority is open to the charge of fallacy when...

]&nil]> base tag set for common core features declaring, divn any sequence of low-level structural elements, possibly grouped into lower subdivisions. back body div front argument bibl biblFull biblStruct byline camera caption castList cit closer div docAuthor docDate entry entryFree epigraph event eTree graph head kinesic l label lg lg1 list listBibl move note opener p pause q quote salute shift signed sound sp stage superentry tech termEntry trailer tree u view vocal writing ]&nil]> ]&nil]> ]]> Class Documentation for the TEI Divn Class

The example below shows the documentation for the class divn, which is referred to by the documentation for div shown above. The class documentation in the alphabetical reference section of this document uses a slightly extended tag set which provides for information about elements within which members of the class may appear, members of the class, and the actual declaration of the parameter entities by which properties of the class are expressed. divn structural elements which behave in the same way as divisions. type specifies a name conventionally used for this level of subdivision, e.g. act, volume, book, section, canto, etc. CDATA any string of characters #CURRENT org specifies how the content of the division is organized. (composite | uniform) compositecomposite content: i.e. no claim is made about the sequence in which the immediate contents of this division are to be processed, or their inter-relationships. uniformuniform content: i.e. the immediate contents of this element are regarded as forming a logical unit, to be processed in sequence. uniform sample indicates whether this division is a sample of the original source and if so, from which part. (initial | medial | final | unknown | complete) initialdivision lacks material present at end in source. medialdivision lacks material at start and end. finaldivision lacks material at start. unknownposition of sampled material within original unknown. completedivision is not a sample. complete part specifies whether or not the division is fragmented by some other structural element, for example a speech which is divided between two or more verse stanzas. (Y | N | I | M | F) Ythe division is incomplete in some respect Neither the division is complete, or no claim is made as to its completeness. Ithe initial part of an incomplete division Ma medial part of an incomplete division Fthe final part of an incomplete division N

The values I, M, or F should be used only where it is clear how the division is to be reconstituted. base tag set for common core features ]]>