Module 2: The TEI Header
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.
Bibliography
- Erasmus, Desiderius. 1867-1872. Desiderii Erasmi Roterodami colloquia familiaria. Lipsiae: sumptibus Ottonis Holtze. Encoded and made available by the Stoa Consortium, University of Kentucky at https://web.archive.org/web/20160220004338/https://www.stoa.org/hopper/text.jsp?doc=Stoa:text:2003.02.0006.
- Higginson, Thomas Wentworth. 1885. “Letter of November 7, 1885.” Encoded and made available by the Lincoln Electronic Text Center of the University of Nebraska at https://higginson.unl.edu/letters/LC1885k07.html.
- Islam, Mubina. 2004. “A Selection of Sonnets: electronic edition encoded in XML with a TEI DTD.” Unpublished Master’s Dissertation, London: University College London.
- Marlowe, Christopher. 1616. The Tragedie of Doctor Faustus. Encoded and made available by the Perseus Digital Library. Available online at https://www.perseus.tufts.edu/hopper/text?doc=Perseus:text:1999.03.0011.
- Shakespeare, William. 1978. The Complete Works of William Shakespeare. Edited by Alexander, Peter. London: Collins.
- Whitman, Walt. 1890. “After the Argument.” Manuscript encoded and made available by the Walt Whitman Archive at https://www.whitmanarchive.org/manuscripts/transcriptions/loc.00001.html.
- Wilde, Oscar. 1930. “The Importance of Being Earnest.” In: Plays, Prose Writings and Poems. London: Everyman. Encoded and made available by CELT: Corpus of Electronic Texts: a project of University College, Cork. Available online at https://www.ucc.ie/celt/published/E850003-002/.