TEI by ExampleModule 4: PoetryRon Van den BrandenEdward VanhoutteMelissa TerrasAssociation for Literary and Linguistic Computing (ALLC)Centre for Data, Culture and Society, University of Edinburgh, UKCentre for Digital Humanities (CDH), University College London, UKCentre for Computing in the Humanities (CCH), King’s College London, UKCentre for Scholarly Editing and Document Studies (CTB) , Royal Academy of Dutch Language and Literature, BelgiumCentre for Scholarly Editing and Document Studies (CTB)Royal Academy of Dutch Language and LiteratureKoningstraat 189000 GentBelgiumctb@kantl.beEdward VanhoutteMelissa TerrasCentre for Scholarly Editing and Document Studies (CTB) , Royal Academy of Dutch Language and Literature, BelgiumCentre for Scholarly Editing and Document Studies (CTB) , Royal Academy of Dutch Language and Literature, BelgiumGentCentre for Scholarly Editing and Document Studies (CTB)Royal Academy of Dutch Language and LiteratureKoningstraat 189000 GentBelgium
Licensed under a Creative Commons Attribution ShareAlike 3.0 License
9 July 2010TEI by Example.Edward VanhoutteeditorRon Van den BrandeneditorMelissa Terraseditor
TEI by Example offers a series of freely available online tutorials walking individuals through the different stages in marking up a document in TEI (Text Encoding Initiative). Besides a general introduction to text encoding, step-by-step tutorial modules provide example-based introductions to eight different aspects of electronic text markup for the humanities. Each tutorial module is accompanied with a dedicated examples section, illustrating actual TEI encoding practise with real-life examples. The theory of the tutorial modules can be tested in interactive tests and exercises.
en-GBintegrated examples in a single file
William Blake: Songs of Innocence and of Experience
This example features a fragment of William Blake’s
Songs of innocence and of experience, encoded and made available by the University of Virginia Library, for their Text Collection.
It forms a good example of how an anthology can be encoded. The work is considered as a single text (text) whose body contains both books. Both
Songs of Innocence and Songs of Experience are encoded as div1 numbered text divisions, with a type attribute with value book. Inside these books, all 45 poems are encoded as div2 type="poem". All poems have a title (head) and are subdivided into stanzas (lg type="stanza") and lines (l). Page breaks are recorded with pb elements, whose n attribute contain the page number.
Blake, William. 1789. Songs of Innocence and of Experience. London: W Blake. Encoded and made available by the University of Virginia Library, Text Collection at .Browning, Robert. 1842. Dramatic Lyrics. London: Moxon.Carroll, Lewis. 1865. Alice’s Adventures in Wonderland. New York: D. Appleton and co. p. 37.Islam, Mubina. 2004. A Selection of Sonnets: electronic edition encoded in XML with a TEI DTD. Unpublished Master’s Dissertation, London: University College London.Shakespeare, William. 1978. The Complete Works of William Shakespeare. Edited by Alexander, Peter. London: Collins.Swinburne, Algernon Charles. 1924. Swinburne’s Collected Poetical Works. London: William Heinemann. p. 330–31.