Sample Encoded Verse

This edition of sample encoded verse was made as part of the TAPASLearn guides.

Have questions?

Post questions in Forum on working with verse

Review
Verse Genre

Reference

Check out the Women Writer's Project resource on encoding verse in the TEI: http://www.wwp.northeastern.edu/research/publications/guide/html/verse_outline.html

Overview

The TEI captures works of verse using

  • <lg> : can be used to group together multiple lines of verse
  • <l> : used to mark a line of verse
  • <lb/> : can be used to denote line breaks that are the result of page dimensions rather than verse structure
  • <head> : can be used to mark the title of the selected verse

Vertical Tabs

Reader
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" type="application/xml"
	schematypens="http://purl.oclc.org/dsdl/schematron"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
   <teiHeader>
      <fileDesc>
         <titleStmt>
            <title>An Minimally Encoded Example of Verse in the TEI</title>
            <author>
               <orgName>TAPAS Project</orgName>
            </author>
            <respStmt>
               <resp>Encoded by, </resp>
               <persName>Benjamin J. Doyle</persName>
            </respStmt>
         </titleStmt>
         <publicationStmt>
            <publisher>
               <orgName>the TEI Archiving, Publishing, and Access Service (TAPAS)</orgName>
            </publisher>
            <address>
               <addrLine>360 Huntington Avenue</addrLine>
               <addrLine>Northeastern University</addrLine>
               <addrLine>Boston, MA 02115</addrLine>
            </address>
            <date>2017-01-17</date>
            <availability>
               <p>This file is free to download, share, or repurpose for educational and project development purposes.</p>
            </availability>
         </publicationStmt>
         <sourceDesc>
            <p>Born digital</p>
         </sourceDesc>     
      </fileDesc>
   </teiHeader>
   <text>
      <body><!-- this template has been based off the following publicly available TEI resources: Women Writers Project Online: https://www.wwp.northeastern.edu/research/publications/guide/html/verse_outline.html;TEI By Example: http://teibyexample.org/modules/TBED04v00.htm -->
         <lg type="poem.sonnet-shakespearean"><!-- To capture one or more lines of verse, nest 'l' in 'lg'. Like 'div', 'lg' can include '@type=attribute' to declare its type of grouping; in this example, 'poem.sonnet-shakespearean' declares the outer most grouping as a poem, composed in style of Sharespearean sonnet. One could declare this as a 'poem' or a 'sonnet,' but we know this to be a Shakespearean sonnet, divided into three 'lg's' with @type='quatrain' and one 'lg' with @type="couplet". (see for more detail on handling poetry: https://www.wwp.northeastern.edu/research/publications/guide/html/verse_wholepoem.html; see for more on @type="attribute" for verse: https://www.wwp.northeastern.edu/research/publications/guide/html/verse_stanzas.html) -->
            <head>Sonnet 130</head><!-- 'head' for capturing poem title or stanza heading -->
            <lg type="quatrain" n="1"><!-- @n='attribute' can be used to number/count lg's and individual l's -->
               <l n="1">My Mistres eyes are nothing like the Sunne,</l>
               <l n="2">Currall is farre more red, then her lips red</l>
               <l n="3">If snow be white, why then her brests are dun:</l>
               <l n="4">If haires be wiers, black wiers grown on her head:</l>
            </lg>
            <lg type="quatrain" n="2">
               <l n="5">I have seene Roses damaskt, red and white,</l>
               <l n="6">But no such Roses see I in her cheekes,</l>
               <l n="7">And in some perfumes is there more delight,</l>
               <l n="8">Then in the breath that from my Mistres reekes.</l>
            </lg>
            <lg type="quatrain" n="3">
               <l n="9">I love to heare her speake, yet well I know,</l>
               <l n="10">That Musicke hath a farre more pleasing sound:</l>
               <l n="11">I graunt I never saw a goddesse goe,</l>
               <l n="12">My Mistres when shee walkes treads on the ground.</l>
            </lg>
            <lg type="couplet" n="4">
               <l n="13">And yet by heaven I think my love as rare,</l>
               <l n="14">As any she beli'd with false compare.</l>
            </lg>
         </lg>
      </body>
   </text>
</TEI>
An Minimally Encoded Example of Verse in the TEI TAPAS Project Encoded by, Benjamin J. Doyle the TEI Archiving, Publishing, and Access Service (TAPAS)
360 Huntington Avenue Northeastern University Boston, MA 02115
2017-01-17

This file is free to download, share, or repurpose for educational and project development purposes.

Born digital

Sonnet 130 My Mistres eyes are nothing like the Sunne, Currall is farre more red, then her lips red If snow be white, why then her brests are dun: If haires be wiers, black wiers grown on her head: I have seene Roses damaskt, red and white, 5 But no such Roses see I in her cheekes, And in some perfumes is there more delight, Then in the breath that from my Mistres reekes. I love to heare her speake, yet well I know, That Musicke hath a farre more pleasing sound: 10 I graunt I never saw a goddesse goe, My Mistres when shee walkes treads on the ground. And yet by heaven I think my love as rare, As any she beli'd with false compare.

Toolbox

Themes:

An Minimally Encoded Example of Verse in the TEI TAPAS Project Encoded by, Benjamin J. Doyle the TEI Archiving, Publishing, and Access Service (TAPAS)
360 Huntington Avenue Northeastern University Boston, MA 02115
2017-01-17

This file is free to download, share, or repurpose for educational and project development purposes.

Born digital

Sonnet 130 My Mistres eyes are nothing like the Sunne, Currall is farre more red, then her lips red If snow be white, why then her brests are dun: If haires be wiers, black wiers grown on her head: I have seene Roses damaskt, red and white, But no such Roses see I in her cheekes, And in some perfumes is there more delight, Then in the breath that from my Mistres reekes. I love to heare her speake, yet well I know, That Musicke hath a farre more pleasing sound: I graunt I never saw a goddesse goe, My Mistres when shee walkes treads on the ground. And yet by heaven I think my love as rare, As any she beli'd with false compare.