Module 2: The TEI Header

1. Desiderius Erasmus: Colloquia familiaria

This example features the TEI header for the transcription of Colloquia familiaria, a series of colloquia written by Desiderius Erasmus. They are encoded and made available by the Stoa Consortium, University of Kentucky.

This is an excellent example of a TEI header. The file description provides the minimal information sections about the title and responsibilities of the electronic text, its publication, and its source. Editorial principles are documented in <encodingDesc>, which also has a statement about sampling decisions in <samplingDesc> (see section 2.3.2 The Sampling Declaration of the TEI Guidelines). It also contains a formal declaration of a reference system, for which it makes use of <refState> elements (see section 2.3.5.3 Milestone Method of the TEI Guidelines). Two classification systems are declared in <classDecl>: Library of Congress Subject Headings and Library of Congress Classification. The next header section, <profileDesc>, contains the actual classification of the text according to both systems, in <textClass>. This is a nice illustration of two classification strategies: using natural language keywords (<keywords>) or abstract classification codes (<classCode>). Also, the languages of the text are formally declared in <langUsage>. Finally, a complete revision history is available in <revisionDesc>.

<teiHeader xmlns="http://www.tei-c.org/ns/1.0">
<fileDesc>
<titleStmt>
<title>Colloquia familiaria</title>
<author>Desiderius Erasmus</author>
<respStmt>
<resp>Encoded by</resp>
<name xml:id="JN">Jennifer K. Nelson</name>
<name xml:id="GE">Gretche Ermer</name>
</respStmt>
<principal>A. Ross Scaife</principal>
<sponsor>Cultural Heritage Language Technologies</sponsor>
<funder>N​SF-EU</funder>
</titleStmt>
<publicationStmt>
<publisher>Stoa Consortium</publisher>
<pubPlace>Lexington, KY</pubPlace>
<address>
<addrLine>Department of Modern and Classical Languages, Literatures and Cultures</addrLine>
<addrLine>1055 Patterson Office Tower</addrLine>
<addrLine>University of Kentucky</addrLine>
<addrLine>Lexington, KY 40506​-0027</addrLine>
<addrLine>url​:http​://www​.stoa​.org</addrLine>
</address>
<date>2002​-09​-05</date>
</publicationStmt>
<sourceDesc>
<biblStruct>
<monogr>
<author>Erasmus, Desiderius, d. 1536</author>
<title type="main">Desiderii Erasmi Roterodami colloquia familiaria</title>
<title type="subordinate">ad optimarum editionum fidem diligenter emendata, cum succincta difficiliorum explanatione</title>
<edition>Ed. stereotypa</edition>
<imprint>
<pubPlace>Lipsiae</pubPlace>
<publisher>sumptibus Ottonis Holtze</publisher>
<date>1867​-1872</date>
</imprint>
<extent>771 p. (2 vols) ; 15 cm.</extent>
</monogr>
</biblStruct>
</sourceDesc>
</fileDesc>
<encodingDesc>
<samplingDecl>
<p>Editorial notes in the Holtze edition have not been reproduced</p>
</samplingDecl>
<editorialDecl>
<normalization method="silent">
<p>Original punctuation conventions in the Holtze edition have been retained as much as possible</p>
</normalization>
<hyphenation eol="none">
<p>Hyphenated words that appear at the end of the line in the Holtze edition have been reformed</p>
</hyphenation>
<interpretation>
<p>Italics are recorded without interpretation</p>
</interpretation>
</editorialDecl>
<refsDecl>
<refState unit="colloquium"/>
<refState unit="topic"/>
</refsDecl>
<classDecl>
<taxonomy xml:id="lcsh">
<bibl>Library of Congress Subject Headings</bibl>
</taxonomy>
<taxonomy xml:id="lc">
<bibl>Library of Congress Classification</bibl>
</taxonomy>
</classDecl>
</encodingDesc>
<profileDesc>
<langUsage>
<language ident="la">Latin</language>
<language ident="grc">Ancient Greek</language>
</langUsage>
<textClass>
<keywords scheme="#lcsh">
<list>
<item>Dialogues, Latin (Medieval and modern)</item>
<item>Folly -- Early works to 1800</item>
</list>
</keywords>
<classCode scheme="#lc">P​A8501</classCode>
</textClass>
</profileDesc>
<revisionDesc>
<change when="2004​-03​-01" who="#GE">[ed] added text of "De utilitate colloquiorum ad lectorem"</change>
<change when="2003​-10​-14" who="#JN">[ed] expanded T​EI header to include more information, e​.g. LC subject headings and LC classification</change>
<change when="2002​-09​-01" who="#JN">[markup]: began tei​-compliant markup</change>
</revisionDesc>
</teiHeader>
Example 1. Adapted from a TEI P4 XML encoding of the header for Desiderius Eramus’ Colloquia Familiaria (Erasmus, 1872).

2. Thomas Wentworth Higginson: “Letter of 7 November 1885”

This example shows the TEI header of the digital edition of a letter of 7 November 1885 by the American minister and writer Thomas Wentworth Higginson, encoded and made available by the Lincoln Electronic Text Center of the University of Nebraska.

This TEI header provides detailed documentation about the electronic text in <fileDesc>. The title statement not only identifies the people responsible for transcription and markup, but also for the technical processing of the letters by means of stylesheets. The <extent> section needs to be completed still; of course, this can only be done after completion of the encoding. Notice the detailed statement of availability in <availability>. The source text in which this letter has been published is described using the <biblFull> element; notice how its sections reflect the actual file description in the TEI header of the electronic text (apart from the <sourceDesc> section). The <notesStmt> seems to be used to record some loose annotations about the source text.

The encoding description section only contains a description of the editorial practice in <editorialDecl>. This is done in a prose paragraph. The header is concluded by a minimal revision description, recording only one change.

<teiHeader xmlns="http://www.tei-c.org/ns/1.0">
<fileDesc>
<titleStmt>
<title>Correspondence of Thomas Wentworth Higginson, 1865​—1910</title>
<author>Thomas Wentworth Higginson</author>
<respStmt>
<resp> Transcribed by </resp>
<name xml:id="MS"> Melissa Sinner </name>
</respStmt>
<respStmt>
<resp> Encoded by </resp>
<name xml:id="MM"> Margaret Mering </name>
<name xml:id="LW">Laura Weakly</name>
</respStmt>
<respStmt>
<resp> Stylesheet created by </resp>
<name xml:id="B​PZ"> Brian L. Pytlik Zillig </name>
</respStmt>
<respStmt>
<resp> Commentary on the Letters by </resp>
<name xml:id="L​RP"> Linda Ray Pratt </name>
</respStmt>
</titleStmt>
<extent> *** kb </extent>
<publicationStmt>
<publisher>University of Nebraska​—Lincoln Electronic Text Center </publisher>
<pubPlace/>
<idno>L​C1885k07</idno>
<availability>
<p>This work is the property of the University of Nebraska​—Lincoln. It may be copied freely by individuals for personal use, research, and teaching (including distribution to classes) as long as this statement of availability is included in the text. It may be linked to freely in Internet editions of all kinds, including for​—profit works.</p>
<p>Publishers, libraries, and other information providers interested in providing this text in a commercial or non​—profit product or from an information server must contact the University of Nebraska​—Lincoln for licensing and cost information.</p>
<p> Scholars interested in changing or adding to these texts by, for example, creating a new edition of the text (electronically or in print) with substantive editorial changes, may do so with the permission of the University of Nebraska​—Lincoln. This is the case whether the new publication will be made available at a cost or free of charge.</p>
</availability>
<date>2001</date>
</publicationStmt>
<sourceDesc>
<biblFull>
<titleStmt>
<title> Carlton and Territa Lowenberg Collection, Archives and Special Collections, University of Nebraska​—Lincoln Libraries. </title>
<author>Lowenberg, Carlton; Lowenberg, Territa A., 1825​—1991.</author>
</titleStmt>
<publicationStmt>
<publisher>Archives and Special Collections, Electronic Text Center</publisher>
<pubPlace>University of Nebraska​—Lincoln Libraries</pubPlace>
<date>2001</date>
<address>
<addrLine>Electronic Text Center</addrLine>
<addrLine>319 Love Library</addrLine>
<addrLine>P​.O. Box 884100</addrLine>
<addrLine>University of Nebraska​—Lincoln</addrLine>
<addrLine>Lincoln, NE 68588​—4100</addrLine>
</address>
</publicationStmt>
<notesStmt>
<note type="label">Nov. 7, 1885</note>
<note type="sentence">No other plays by Miss Parker have come to light. </note>
</notesStmt>
</biblFull>
</sourceDesc>
</fileDesc>
<encodingDesc>
<editorialDecl>
<p>Line breaks, paragraph breaks, and indentations have been preserved within the transcription. The layout of the page has been preserved whenever possible. Abbreviations and spellings have been maintained within the transcriptions, and the full word and corrected or modern spellings have been provided. Images of the original letters have been provided in order to show the original page layout and other markings that are not the author​'s. Such markings include letter head, postcards, postal stamps, etc. and writing by other people. Words or phrases that are deemed indecipherable have been noted as "unclear." To provide further information as to the context of a particular letter, notations have been provided.</p>
</editorialDecl>
</encodingDesc>
<revisionDesc>
<change when="2006​-01​-24" who="#LW">Add and revise header info, change lbs and divs</change>
</revisionDesc>
</teiHeader>
Example 2. Adapted from a TEI P4 XML encoding of a letter by Thomas Higginson (1885). TEI XML source file is not publicly available.

3. Christopher Marlowe: The Tragedie of Doctor Faustus (B text)

This example contains the TEI header of the digital edition of Christopher Marlowe’s The Tragedie of Doctor Faustus (B text), encoded and made available by the Perseus Digital Library.

This TEI header provides decent descriptions of the publication details of the electronic text (<publicationStmt>), and the languages occurring in the text (<langUsage>). A reference system is declared in the <encodingDesc> section of the header, using <refState> elements (see section 2.3.5.3 Milestone Method of the TEI Guidelines).

The revision description is interesting both in a positive and a negative way. It clearly contains a detailed list of the changes. The list seems to be generated by an automated versioning system, which allows one to keep complete track of a file’s historical states, and document changes with log messages. Integrating automated revision control in the <revisionDesc> section of the TEI header is an interesting idea, as it combines processability and expressiveness. However, on the encoding level, this integration could be improved. In this case, a single <change> element is (ab)used to record the complete revision history. If the output of the automated version control system would be formatted to distinct <change> elements per revision (either directly, or via a post-processing step), this would make the information much more compliant with the semantics of the TEI header.

One essential point of critique concerns the lacking description of the source document in <sourceDesc>. In this case, the title and author of the source work (that can be recollected from the information in the <titleStmt> subsection) still provide cues to its origin, but this could be much harder for less known texts. It is reasonable to suppose that the source texts of the files in the Perseus Digital Library are documented externally, but then the TEI header sections of these files should at least contain a pointer to these resources.

<teiHeader xmlns="http://www.tei-c.org/ns/1.0" type="text">
<fileDesc>
<titleStmt>
<title>The Tragedie of Doctor Faustus (B text)</title>
<author>Christopher Marlowe</author>
<editor role="editor">Hilary Binda</editor>
<sponsor>Perseus Project, Tufts University</sponsor>
<principal xml:id="GC">Gregory Crane</principal>
<respStmt>
<resp>Prepared under the supervision of</resp>
<name xml:id="LC">Lisa Cerrato</name>
<name xml:id="WM">William Merrill</name>
<name xml:id="EM">Elli Mylonas</name>
<name xml:id="DS">David Smith</name>
</respStmt>
<funder n="org​:Tufts">Tufts University</funder>
</titleStmt>
<publicationStmt>
<publisher>Trustees of Tufts University</publisher>
<pubPlace>Medford, MA</pubPlace>
<authority>Perseus Project</authority>
<availability status="free">
<p>This text may be freely distributed, subject to the following restrictions:
<list>
<item>You credit Perseus, as follows, whenever you use the document:
<quote>Text provided by Perseus Digital Library, with funding from Tufts University. Original version available for viewing and download at http​://www​.perseus​.tufts​.edu​/hopper/.</quote>
</item>
<item>You leave this availability statement intact.</item>
<item>You use it for non​-commercial purposes only.</item>
<item>You offer Perseus any modifications you make.</item>
</list>
</p>
</availability>
</publicationStmt>
<sourceDesc>
<bibl/>
</sourceDesc>
</fileDesc>
<encodingDesc>
<refsDecl>
<refState unit="line"/>
</refsDecl>
<refsDecl>
<refState unit="scene" delim="."/>
<refState unit="line"/>
</refsDecl>
</encodingDesc>
<profileDesc>
<langUsage>
<language ident="en">English</language>
<language ident="la">Latin</language>
<language ident="greek">Greek</language>
<language ident="it">Italian</language>
</langUsage>
</profileDesc>
<revisionDesc>
<change when="1997​-06​-25" who="#DS"> $​Log: marl​.faustb​.xml​,v $ Revision 1​.2 2004​/04​/22 14​:24​:57 cwulfman *** empty log message *** Revision 1​.1 2004​/04​/22 13​:55​:24 cwulfman Making xml files the canonical ones. Revision 1​.11 2003​/07​/01 22​:14​:53 yorkc Updated texts to T​EI P4 and Perseus P4 extensions; minor cleanup (esp. character encodings and typos.) Revision 1​.10 2000​/04​/27 23​:22​:22 dasmith Hopperized T​EI header. Fixed typos. Revision 1​.9 1999​/09​/01 17​:15​:34 dasmith Fixed preamble and added encoding​Desc. Revision 1​.8 1997​/09​/11 16​:00​:37 textgod Updated for nsgmls. Revision 1​.7 1997​/07​/02 21​:57​:11 textgod Added C​ASTLIST H​EAD Revision 1​.6 1997​/06​/30 21​:57​:09 textgod Added group for the prologue. Revision 1​.5 1997​/06​/25 14​:51​:39 textgod Fixed broken N​AME tag. Revision 1​.4 1997​/06​/25 14​:40​:00 textgod Added log messages to file. </change>
</revisionDesc>
</teiHeader>
Example 3. Adapted from a TEI P4 XML encoding of Christopher Marlowe’s play The Tragedie of Doctor Faustus (Marlowe 1616). TEI XML source available from https://www.perseus.tufts.edu/hopper/dltext?doc=Perseus:text:1999.03.0011.

4. William Shakespeare: “Sonnet 17”

The following example illustrates the TEI header for a sonnet by William Shakespeare, containing a detailed metrical analysis of the poem. Both the electronic text and its source are bibliographically described in the <fileDesc> section. The text encoding process is described in <encodingDecl>, providing details about the encoding project (<projectDesc>), the editorial policy (<editorialDecl>), and the system used to analyse the metre of the poem (<metDecl>). Notice how the <editorialDecl> subsection had to be repeated, as it both documents features that can be encoded in a TEI category (<segmentation> and <interpretation>), and features for which no such TEI labels are available. (<p>). The standard TEI scheme does not allow both systems (formal and informal) to be mixed, hence the repetition of the <encodingDesc> section. The same goes for the <metDecl> sections: as both a formal (<metSym>) and informal (<p>) description is provided for the metrical system, repeating the <metDecl> element was the easiest solution. Of course, this could have been addressed as well by adapting the TEI schema.

<teiHeader xmlns="http://www.tei-c.org/ns/1.0">
<fileDesc>
<titleStmt>
<title>A Selection of Sonnets: electronic edition encoded in X​ML with a T​EI D​TD</title>
<author>Wlliam Shakespeare</author>
<respStmt>
<resp>Transribed and encoded by</resp>
<name>Mubina Islam</name>
</respStmt>
</titleStmt>
<extent>64 KB</extent>
<publicationStmt>
<publisher>University College London</publisher>
<pubPlace>London</pubPlace>
</publicationStmt>
<sourceDesc>
<biblFull>
<titleStmt>
<title>The Complete Works of William Shakespeare</title>
<author>
<name>William Shakespeare</name>
</author>
<editor>
<name>Peter Alexander</name>
</editor>
</titleStmt>
<publicationStmt>
<publisher>Collins</publisher>
<pubPlace>London</pubPlace>
<date>1978</date>
<idno type="I​SBN">0​-00​-435634​-9</idno>
</publicationStmt>
</biblFull>
</sourceDesc>
</fileDesc>
<encodingDesc>
<projectDesc>
<p>A total of ten sonnets collected and encoded according to the metrical interpretation of the verse by Mubina Islam, August 2004. This document was created as part of a Master​'s dissertation on the markup of poetic metre, for the course MA Electronic Communication and Publishing at U​CL.</p>
</projectDesc>
<editorialDecl>
<segmentation>
<p>Each sonnet has been divided into the stanzaic line groupings.</p>
<p>Line groups have been further divided to mark individual lines of verse.</p>
<p>Segmentation tags have been used to represent the division of each line into metrical feet.</p>
</segmentation>
<interpretation>
<p>The metrical interpretation of the text, defined with the segmentation of the text into units of feet, was added by hand by the encoder. This has not been checked and may be subject to alternative readings.</p>
</interpretation>
</editorialDecl>
<editorialDecl>
<p>All punctuation marks, excluding dashes or hyphenation, have been encoded as entities.</p>
<p>Caesuras and line enjambement have been recorded in this document as accurately as possible by the encoder.</p>
</editorialDecl>
<metDecl pattern="((+|​-)+\|?/?)*">
<metSym value="trochee" terminal="false">+-</metSym>
<metSym value="iamb" terminal="false">-+</metSym>
<metSym value="spondee" terminal="false">++</metSym>
<metSym value="pyrrhic" terminal="false">--</metSym>
<metSym value="amphibrach" terminal="false">-+-</metSym>
<metSym value="anapaest" terminal="false">--+</metSym>
<metSym value="+">metrical promimence</metSym>
<metSym value="-">metrical non​-prominence</metSym>
<metSym value="|">foot boundary</metSym>
<metSym value="/">metrical line boundary</metSym>
</metDecl>
<metDecl>
<p>Metrically prominent syllables are marked '+' and other syllables '-'. Foot divisions are marked by a vertical bar, and line divisions with a solidus.</p>
<p>This notation may be applied to any metrical unit, of any size (including, for example, individual feet as well as groups of lines).</p>
<p>The 'real' attribute has been used to indicate possible variations in the iambic base metre. Where this attribute is not included, it is assumed each foot inherits the iambic metre defined for the overall division of text.</p>
<p>The 'met' attribute has been used in feet which have a missing or additional syllable rather than the two syllables expected, although the line may still confirm to the metre of the poem.</p>
</metDecl>
</encodingDesc>
</teiHeader>
Example 4. Adapted from a TEI P4 XML encoding by Mubina Islam (Islam 2004) of William Shakespeare’s poem “Sonnet 17” (Shakespeare 1978). TEI source not publicly available.

5. Walt Whitman: “After the Argument”

This example contains the TEI header of the digital edition of a manuscript draft of “After the Argument,” a poem by Walt Whitman. It was encoded and made available by the Walt Whitman Archive.

This TEI header contains a detailed description of the electronic text in <fileDesc>. Apart from the required subsections, the edition of the electronic text is identified briefly in <editionStmt>. The <notesStmt> element contains a general remark about the dating of the manuscript.

Besides the file description, the header contains a detailed account of the file’s history in <revisionDesc>.

Functioning as the header of a manuscript transcription, however, one would have expected at least an <encodingDesc>, documenting how the electronic version relates to the source text. When this text is seen in isolation, this header falls short in explaining the editorial choices (that are referred to, however, in the <revisionDesc>). Of course, this text probably features in the wider context of the Walt Whitman Archive, where uniform encoding practices were used for all texts. Still, without repeating boilerplate information in each text of the archive, it would have made sense to provide an <editorialDecl> section with at least pointers to the external documentation of these practices available at https://www.whitmanarchive.org/about/editorial.html and https://www.whitmanarchive.org/mediawiki/index.php/Whitman_Encoding_Guidelines. Furthermore, as the transcription is fairly detailed in the recording of editorial phenomena (additions, deletions, substitutions), identification of the different document hands in <profileDesc> could have made sense.

(Of course, these are only minor remarks, relative to the quality of the surrounding documentation of the archive in which this text is embedded. Yet, even if such external documentation exists, it makes sense to provide pointers in the document.)

<teiHeader xmlns="http://www.tei-c.org/ns/1.0">
<fileDesc>
<titleStmt>
<title level="m" type="main">After the Argument</title>
<title level="m" type="sub">a machine readable transcription</title>
<author>Walt Whitman</author>
<editor>Ken Price</editor>
<editor>Ed Folsom</editor>
<respStmt>
<resp>Transcription and encoding</resp>
<persName xml:id="nhg">Nicole Gray</persName>
<persName xml:id="aj">Andrew Jewell</persName>
<persName xml:id="kmp">Kenneth M. Price</persName>
<persName xml:id="bb">Brett Barney</persName>
<persName xml:id="zb">Zach Bajaber</persName>
<persName xml:id="nk">Nick Krauter</persName>
<persName xml:id="ms">Melissa Sinner</persName>
<persName xml:id="jsc">Justin St. Clair</persName>
</respStmt>
<sponsor>The Institute for Advanced Technology in the Humanities</sponsor>
<sponsor>University of Iowa</sponsor>
<sponsor>University of Nebraska​-Lincoln</sponsor>
<funder>The National Endowment for the Humanities</funder>
<funder>The United States Department of Education</funder>
</titleStmt>
<editionStmt>
<edition>
<date>2002</date>
</edition>
</editionStmt>
<publicationStmt>
<distributor>The Walt Whitman Archive</distributor>
<idno>loc​.00001</idno>
<address>
<addrLine>The Institute for Advanced Technology in the Humanities</addrLine>
<addrLine>Alderman Library</addrLine>
<addrLine>University of Virginia</addrLine>
<addrLine>P​.O. Box 400115</addrLine>
<addrLine>Charlottesville, VA 22904​-4115</addrLine>
<addrLine>whitman​@jefferson​.village​.virginia​.edu</addrLine>
</address>
<availability>
<p>The text of the original item is in the public domain. The text encoding and editorial notes were created and​/or prepared by the
<hi rend="italic">Walt Whitman Archive</hi>
and are licensed under a
<ref target="https​://creativecommons​.org​/licenses​/by​/4.0/">Creative Commons Attribution 4​.0 International License</ref>
(CC BY 4​.0). Any reuse of the material should credit the
<hi rend="italic">Walt Whitman Archive</hi>
.</p>
</availability>
</publicationStmt>
<notesStmt>
<note type="project" target="#dat1">"After the Argument" was published first in
<hi rend="italic">Lippincott​'s Magazine</hi>
,
<date when="1891​-03">March, 1891</date>
. This manuscript was likely written in
<date notBefore="1890" notAfter="1891">1890 or early 1891</date>
, shortly before the poem​'s publication.</note>
</notesStmt>
<sourceDesc>
<bibl>
<author>Walt Whitman</author>
<title>After the Argument</title>
<date xml:id="dat1" cert="high" notBefore="1890" notAfter="1891​-03">1890 or 1891</date>
<orgName xml:id="loc">The Charles E. Feinberg Collection of the Papers of Walt Whitman, 1839​–1919, Library of Congress, Washington, D​.C.</orgName>
<note type="project">Transcribed from
<hi rend="italic">The Walt Whitman Archive I: Whitman Manuscripts at the Library of Congress</hi>
, ed. Joel Myerson (New York: Garland, 1993), 1​:121;
<hi rend="italic">Major American Authors on C​D-Rom: Walt Whitman</hi>
(Westport, CT: Primary Source Media, 1997). The transcription was then checked against digital images of the original.</note>
</bibl>
</sourceDesc>
</fileDesc>
<revisionDesc>
<change when="2015​-05​-07" who="#nhg">corrected</change>
<change when="2015​-05​-06" who="#nhg">converted, added schematron declaration</change>
<change when="2006​-08​-02" who="#nk">Added third digit to leaf numbers</change>
<change when="2004​-11​-18" who="#kmp">Addition of Date and Work Markup</change>
<change when="2004​-11​-18" who="#aj">Addition of Date and Work Markup</change>
<change when="2004​-07​-20" who="#bb">Updated closer​/signature</change>
<change when="2003​-10​-02" who="#bb">Conversion to camel​-case</change>
<change when="2002​-09​-09" who="#bb">Blessed</change>
<change when="2002​-08​-01" who="#zb">Updated to current practice</change>
<change when="2002​-01​-01" who="#kmp">Checked by editor</change>
<change when="2002​-01​-01" who="#bb">Revised</change>
<change when="2001​-01​-01" who="#ms">Encoded</change>
<change when="2000​-01​-01" who="#jsc">Transcribed</change>
</revisionDesc>
</teiHeader>
Example 5. Encoding of a manuscript of Walt Whitman’s poem “After the Argument ” (1890). TEI XML source available from https://whitmanarchive.org/manuscripts/tei/loc.00001.xml.

6. Oscar Wilde: The Importance of Being Earnest

This example contains the TEI header for an electronic edition of Oscar Wilde’s The Importance of Being Earnest, encoded and made available by Corpus of Electronic Texts (CELT), a project of University College, Cork.

This is an excellent TEI header example, featuring quality descriptions of the electronic text (<fileDesc>), its relation to the source text (<encodingDesc>), the context in which it came about (<profileDesc>), and a revision history (<revisionDesc>).

An outstanding feature of this example is the level of detail for the bibliographic description of the source text, in <sourceDesc>. It contais a complete bibliography, in three sections: “select editions,” “select bibliography,” and “the edition used in the digital edition.” The former two categories consist of bibliographic lists, with a <listBibl> element grouping the separate <bibl> elements. The actual edition used for the electronic text is described in detail with a <biblStruct> element.

<teiHeader xmlns="http://www.tei-c.org/ns/1.0">
<fileDesc>
<titleStmt>
<title>The Importance of Being Earnest</title>
<title>A trivial comedy for serious people</title>
<title type="gmd">An electronic edition</title>
<author>Oscar Wilde</author>
<respStmt>
<resp>Electronic edition compiled by</resp>
<name xml:id="ML">Margaret Lantry</name>
</respStmt>
<funder>University College, Cork</funder>
</titleStmt>
<editionStmt>
<edition n="2">Second draft.</edition>
<respStmt>
<resp>Proof corrections by</resp>
<name>Margaret Lantry</name>
</respStmt>
</editionStmt>
<extent>
<measure type="words">23410</measure>
</extent>
<publicationStmt>
<publisher>C​ELT: Corpus of Electronic Texts: a project of University College, Cork</publisher>
<address>
<addrLine>College Road, Cork, Ireland​—http​://www​.ucc​.ie​/celt</addrLine>
</address>
<date>1997</date>
<date>2008</date>
<distributor>C​ELT online at University College, Cork, Ireland. </distributor>
<idno type="celt">E850003​-002</idno>
<availability status="restricted">
<p>Available with prior consent of the C​ELT programme for purposes of academic research and teaching only.</p>
</availability>
</publicationStmt>
<notesStmt>
<note>There is not as yet an authoritative edition of Wilde​'s works.</note>
</notesStmt>
<sourceDesc>
<listBibl>
<head>Select editions</head>
<bibl n="1">The writings of Oscar Wilde (London; New York: A. R. Keller & Co. 1907) 15 vols.</bibl>
<bibl n="2">Robert Ross (ed), The First Collected Edition of the Works of Oscar Wilde (London: Methuen & Co. 1908). 15 vols. Reprinted Dawsons: Pall Mall 1969.</bibl>
<bibl n="3">Complete works of Oscar Wilde (Glasgow: Harper​Collins, 1994).</bibl>
</listBibl>
<listBibl>
<head>Select bibliography</head>
<bibl n="1">'Notes for a bibliography of Oscar Wilde', Books and book​-plates (A quarterly for collectors) 5, no. 3 (April 1905), 170​-183.</bibl>
<bibl n="2">Karl E. Beckson, The Oscar Wilde encyclopedia (New York: A​MS Press 1998). A​MS Studies in the nineteenth century 18.</bibl>
<bibl n="3">Richard Ellmann (ed), The Artist as Critic: Critical Writings of Oscar Wilde (Chicago 1982).</bibl>
<bibl n="4">Richard Ellmann; John Espey, Oscar Wilde: two approaches: papers read at a Clark Library seminar, April 17, 1976 (Los Angeles: William Andrews Clark Memorial Library, University of California 1977).</bibl>
<bibl n="5">Richard Ellmann, Oscar Wilde at Oxford: a lecture delivered at the Library of Congress on March 1, 1983 (Washington, DC: Library of Congress 1984).</bibl>
<bibl n="6">Richard Ellmann, Oscar Wilde: a biography (London: Hamilton 1987).</bibl>
<bibl n="7">Juliet Gardiner, Oscar Wilde: a life in letters, writings and wit (Dublin: Gill & Macmillan 1995).</bibl>
<bibl n="8">Frank Harris, Oscar Wilde, including My memories of Oscar Wilde, by George Bernard Shaw and an introductory note by Lyle Blair (London: Robinson, 1992).</bibl>
<bibl n="9">Rupert Hart​-Davis (ed), Selected letters of Oscar Wilde (Oxford: Oxford University Press 1979).</bibl>
<bibl n="10">Rupert Hart​-Davis (ed), More letters of Oscar Wilde (London: Murray 1985).</bibl>
<bibl n="11">Vyvyan Beresford Holland, Oscar Wilde: a pictorial biography (London: Thames & Hudson 1960).</bibl>
<bibl n="12">H. Montgomery Hyde, Oscar Wilde: a biography (London: Methuen 1977).</bibl>
<bibl n="13">Andrew Mc​Donnell, Oscar Wilde at Oxford: an annotated catalogue of Wilde manuscripts and related items at the Bodleian Library, Oxford, including many hitherto unpublished letters, photographs and illustrations (A. Mc​Donnell 1996). Limited edition of 170 copies.</bibl>
<bibl n="14">Stuart Mason, Bibliography of Oscar Wilde (London: E. G. Richards 1907). Also pubd. New York 1908, London 1914 in 2 vols. Repr. of 1914 edition: New York: Haskell House 1972.</bibl>
<bibl n="15">E. H. Mikhail, Oscar Wilde: an annotated bibliography of criticism (London: Macmillan 1978). Also pubd. Totowa NJ: Rowman & Littlefield 1978.</bibl>
<bibl n="16">Thomas A. Mikolyzk, Oscar Wilde: an annotated bibliography (Westport CT: Greenwood Press 1993). Bibliographies and indexes in world literature, 38.</bibl>
<bibl n="17">Norman Page, An Oscar Wilde chronology (London: Macmillan 1991).</bibl>
<bibl n="18">Hesketh Pearson, A Life of Oscar Wilde (London 1946).</bibl>
<bibl n="19">Richard Pine, The thief of reason: Oscar Wilde and modern Ireland (Dublin: Gill & Macmillan 1996).</bibl>
<bibl n="20">Horst Schroeder, Additions and corrections to Richard Ellmann​'s Oscar Wilde (Braunschweig: H. Schroeder 1989)</bibl>
</listBibl>
<listBibl>
<head>The edition used in the digital edition</head>
<biblStruct>
<analytic>
<author>Oscar Wilde</author>
<title level="a">The Importance of Being Earnest</title>
</analytic>
<monogr>
<title level="m">Plays, Prose Writings and Poems</title>
<imprint>
<pubPlace>London</pubPlace>
<publisher>Everyman</publisher>
<date>1930</date>
<biblScope type="pages">450​-509</biblScope>
</imprint>
</monogr>
</biblStruct>
</listBibl>
</sourceDesc>
</fileDesc>
<encodingDesc>
<projectDesc>
<p>C​ELT: Corpus of Electronic Texts</p>
</projectDesc>
<samplingDecl>
<p>All the editorial text with the corrections of the editor has been retained.</p>
</samplingDecl>
<editorialDecl>
<correction status="medium">
<p>Text has been checked, proof​-read and parsed using N​SGMLS.</p>
</correction>
<normalization>
<p>The electronic text represents the edited text.</p>
</normalization>
<quotation>
<p>Direct speech is marked
<emph>q</emph>
.</p>
</quotation>
<hyphenation>
<p>The editorial practice of the hard​-copy editor has been retained.</p>
</hyphenation>
<segmentation>
<p>
<emph>div0</emph>
=the whole text. </p>
</segmentation>
<interpretation>
<p>Names of persons (given names), and places are not tagged. Terms for cultural and social roles are not tagged.</p>
</interpretation>
</editorialDecl>
<refsDecl>
<p>The
<emph>n</emph>
attribute of each text in this corpus carries a unique identifying number for the whole text.</p>
<p> The title of the text is held as the first
<emph>head</emph>
element within each text.</p>
<p>
<emph>div0</emph>
is reserved for the text (whether in one volume or many).</p>
</refsDecl>
</encodingDesc>
<profileDesc>
<creation>By Oscar Wilde (1854​-1900).
<date>1895</date>
</creation>
<langUsage>
<language ident="en">The text is in English.</language>
<language ident="fr">One word occurring twice in Anglo​-French.</language>
</langUsage>
</profileDesc>
<revisionDesc>
<change when="2008​-07​-30" who="#BF">Keywords added; file validated; new wordcount made. Minor changes made to header.</change>
<change when="2005​-08​-25" who="#JN">Normalised language codes and edited lang​Usage for X​ML conversion</change>
<change when="2005​-08​-04" who="#PF">Converted to X​ML</change>
<change when="1998​-01​-06" who="#ML">Text parsed using N​SGMLS.</change>
<change when="1998​-01​-06" who="#ML">Proof corrections entered and mark​-up corrected; text spell​-checked.</change>
<change when="1997​-11​-16">Text proofed.</change>
<change when="1997​-12​-15">Header created; structural mark​-up inserted.</change>
<change when="1997​-09​-04">Text captured by scanning.</change>
</revisionDesc>
</teiHeader>
Example 6. Adapted from a TEI P3 SGML encoding of Oscar Wilde’s play The Importance of Being Earnest, in the anthology Plays, Prose Writings and Poems by Oscar Wilde (Wilde 1930). TEI SGML source available from https://www.ucc.ie/celt/published/E850003-002.sgml.

Bibliography