<TEI xmlns="http://www.tei-c.org/ns/1.0">
  <teiHeader>
    <fileDesc>
      <titleStmt>
        <title type="main">TEI by Example</title>
        <title type="sub">Module 4: Poetry</title>
        <author xml:id="RvdB">Ron Van den Branden</author>
        <editor xml:id="EV">Edward Vanhoutte</editor>
        <editor xml:id="MT">Melissa Terras</editor>
        <sponsor>Association for Literary and Linguistic Computing (ALLC)</sponsor>
        <sponsor>Centre for Data, Culture and Society, University of Edinburgh, UK</sponsor> 
        <sponsor>Centre for Digital Humanities (CDH), University College London, UK</sponsor>
        <sponsor>Centre for Computing in the Humanities (CCH), King’s College London, UK</sponsor>
        <sponsor>Centre for Scholarly Editing and Document Studies (CTB) , Royal Academy of Dutch Language and Literature, Belgium</sponsor>
        <funder>
          <address>
            <addrLine>Centre for Scholarly Editing and Document Studies (CTB)</addrLine>
            <addrLine>Royal Academy of Dutch Language and Literature</addrLine>
            <addrLine>Koningstraat 18</addrLine>
            <addrLine>9000 Gent</addrLine>
            <addrLine>Belgium</addrLine>
          </address>
          <email>ctb@kantl.be</email>
        </funder>
        <principal>Edward Vanhoutte</principal>
        <principal>Melissa Terras</principal>
      </titleStmt>
      <publicationStmt>
        <publisher>Centre for Scholarly Editing and Document Studies (CTB) , Royal Academy of Dutch Language and Literature, Belgium</publisher>
        <distributor>Centre for Scholarly Editing and Document Studies (CTB) , Royal Academy of Dutch Language and Literature, Belgium</distributor>
        <pubPlace>Gent</pubPlace>
        <address>
          <addrLine>Centre for Scholarly Editing and Document Studies (CTB)</addrLine>
          <addrLine>Royal Academy of Dutch Language and Literature</addrLine>
          <addrLine>Koningstraat 18</addrLine>
          <addrLine>9000 Gent</addrLine>
          <addrLine>Belgium</addrLine>
        </address>
        <availability status="free">
          <p>Licensed under a <ref target="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution ShareAlike 3.0 License</ref>
                    </p>
        </availability>
        <date when="2010-07-09">9 July 2010</date>
      </publicationStmt>
      <seriesStmt>
        <title>TEI by Example.</title>
        <respStmt>
          <name>Edward Vanhoutte</name>
          <resp>editor</resp>
        </respStmt>
        <respStmt>
          <name>Ron Van den Branden</name>
          <resp>editor</resp>
        </respStmt>
        <respStmt>
          <name>Melissa Terras</name>
          <resp>editor</resp>
        </respStmt>
      </seriesStmt>
      <sourceDesc>
        <p>Digitally born</p>
      </sourceDesc>
    </fileDesc>
    <encodingDesc>
      <projectDesc>
        <p>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.</p>
      </projectDesc>
    </encodingDesc>
    <profileDesc>
      <langUsage>
        <language ident="en-GB">en-GB</language>
      </langUsage>
    </profileDesc>
    <revisionDesc>
      <change when="2020-06-28" who="#RvdB">integrated examples in a single file</change>
    </revisionDesc>
  </teiHeader>
  <text xml:id="TBED04v00" type="examples">
    <body>
            <div xml:id="swinburne" type="example">
        <head>Algernon Charles Swinburne: <title level="a">Sestina</title>
                </head>
        <p>This example features a so-called <soCalled>sestina</soCalled>, a highly structured verse form consisting of 6 six-line stanzas followed by 1 three-line stanza. While the same set of six words conclude the lines of each stanza, in each stanza they occur in a different order. Since Swinburne in this example adheres to a strictly alternating rhyming scheme (if the internal rhyme of the tercet is not taken into account), the line ending patterns in this example vary from the traditional structural pattern for a sestina. </p>
        <p>In this example, the rhyming scheme is indicated per stanza, using the <att>rhyme</att> attribute on the stanza’s <gi>lg</gi> element. Rhyming words are marked with <gi>rhyme</gi> elements, with a <att>label</att> attribute indicating their place in the rhyming scheme. In order to trace the line ending scheme, the ending words of the first stanza have been identified with an <att>xml:id</att> attribute. Since they were already marked with a <gi>rhyme</gi> element, identification happens on this level. In the other stanzas, each line ending word is connected to its counterpart of the first stanza with a <att>corresp</att> attribute. This is one of the global linking attributes, whose value formalises a correspondence relationship with another identified element (see the TEI Guidelines section <ref target="http://tei.oucs.ox.ac.uk/P5/Guidelines-web/en/html/SA.html#SACS">16.4 Correspondence and Alignment</ref>). Since the reference is to a local element (an identified element in the same document), its value takes the form of a shorthand local pointer by simply preceding the target’s <att>xml:id</att> value with a hash sign <code>#</code>. Here too, the <gi>rhyme</gi> element provides a sufficient peg for pointing out this correspondence. Otherwise, if no other element would have been available, a <gi>seg</gi> element could be introduced for identifying or referring to a span of text.</p>
        <figure xml:id="swinburne-example">
          <egXML xmlns="http://www.tei-c.org/ns/Examples">
            <lg type="sestina">
              <lg type="sestet" rhyme="ababab">
                <l>I saw my soul at rest upon a <rhyme label="a" xml:id="A">day</rhyme>
                                </l>
                <l>As a bird sleeping in the nest of <rhyme label="b" xml:id="B">night</rhyme>,</l>
                <l>Among soft leaves that give the starlight <rhyme label="a" xml:id="C">way</rhyme>
                                </l>
                <l>To touch its wings but not its eyes with <rhyme label="b" xml:id="D">light</rhyme>;</l>
                <l>So that it knew as one in visions <rhyme label="a" xml:id="E">may</rhyme>,</l>
                <l>And knew not as men waking, of <rhyme label="b" xml:id="F">delight</rhyme>.</l>
              </lg>
              <lg type="sestet" rhyme="ababab">
                <l>This was the measure of my soul's <rhyme label="a" corresp="#F">delight</rhyme>;</l>
                <l>It had no power of joy to fly by <rhyme label="b" corresp="#A">day</rhyme>,</l>
                <l>Nor part in the large lordship of the <rhyme label="a" corresp="#D">light</rhyme>;</l>
                <l>But in a secret moon-beholden <rhyme label="b" corresp="#C">way</rhyme>
                                </l>
                <l>Had all its will of dreams and pleasant <rhyme label="a" corresp="#B">night</rhyme>,</l>
                <l>And all the love and life that sleepers <rhyme label="b" corresp="#E">may</rhyme>.</l>
              </lg>
              <lg type="sestet" rhyme="ababab">
                <l>But such life's triumph as men waking <rhyme label="a" corresp="#E">may</rhyme>
                                </l>
                <l>It might not have to feed its faint <rhyme label="b" corresp="#F">delight</rhyme>
                                </l>
                <l>Between the stars by night and sun by <rhyme label="a" corresp="#A">day,</rhyme>
                                </l>
                <l>Shut up with green leaves and a little <rhyme label="b" corresp="#D">light;</rhyme>
                                </l>
                <l>Because its way was as a lost star's <rhyme label="a" corresp="#C">way,</rhyme>
                                </l>
                <l>A world's not wholly known of day or <rhyme label="b" corresp="#B">night.</rhyme>
                                </l>
              </lg>
              <lg type="sestet" rhyme="ababab">
                <l>All loves and dreams and sounds and gleams of <rhyme label="a" corresp="#B">night</rhyme>
                                </l>
                <l>Made it all music that such minstrels <rhyme label="b" corresp="#E">may,</rhyme>
                                </l>
                <l>And all they had they gave it of <rhyme label="a" corresp="#F">delight;</rhyme>
                                </l>
                <l>But in the full face of the fire of <rhyme label="b" corresp="#A">day</rhyme>
                                </l>
                <l>What place shall be for any starry <rhyme label="a" corresp="#D">light,</rhyme>
                                </l>
                <l>What part of heaven in all the wide sun's <rhyme label="b" corresp="#C">way?</rhyme>
                                </l>
              </lg>
              <lg type="sestet" rhyme="ababab">
                <l>Yet the soul woke not, sleeping by the <rhyme label="a" corresp="#C">way,</rhyme>
                                </l>
                <l>Watched as a nursling of the large-eyed <rhyme label="b" corresp="#B">night,</rhyme>
                                </l>
                <l>And sought no strength nor knowledge of the <rhyme label="a" corresp="#A">day,</rhyme>
                                </l>
                <l>Nor closer touch conclusive of <rhyme label="b" corresp="#F">delight,</rhyme>
                                </l>
                <l>Nor mightier joy nor truer than dreamers <rhyme label="a" corresp="#E">may,</rhyme>
                                </l>
                <l>Nor more of song than they, nor more of <rhyme label="b" corresp="#D">light.</rhyme>
                                </l>
              </lg>
              <lg type="sestet" rhyme="ababab">
                <l>For who sleeps once and sees the secret <rhyme label="a" corresp="#D">light</rhyme>
                                </l>
                <l>Whereby sleep shows the soul a fairer <rhyme label="b" corresp="#C">way</rhyme>
                                </l>
                <l>Between the rise and rest of day and <rhyme label="a" corresp="#B">night,</rhyme>
                                </l>
                <l>Shall care no more to fare as all men <rhyme label="b" corresp="#E">may,</rhyme>
                                </l>
                <l>But be his place of pain or of <rhyme label="a" corresp="#F">delight,</rhyme>
                                </l>
                <l>There shall he dwell, beholding night as <rhyme label="b" corresp="#A">day.</rhyme>
                                </l>
              </lg>
              <lg type="tercet" rhyme="abbaab">
                <l>Song, have thy <rhyme label="a" corresp="#A">day</rhyme> and take thy fill of <rhyme label="b" corresp="#D">light</rhyme>
                                </l>
                <l>Before the <rhyme label="b" corresp="#B">night</rhyme> be fallen across thy <rhyme label="a" corresp="#C">way;</rhyme>
                                </l>
                <l>Sing while he <rhyme label="a" corresp="#E">may</rhyme>, man hath no long <rhyme label="b" corresp="#F">delight.</rhyme>
                                </l>
              </lg>
            </lg>
          </egXML>
          <head type="legend">TBE-crafted example encoding of Algernon Swinburne’s poem <title level="a">Sestina</title> (<ref type="bibl" target="#swinburne1924">Swinburne 1924</ref>).</head>
        </figure>
      </div>
        </body>
    <back>
      <div type="bibliography">
        <listBibl>
          <bibl xml:id="blake1789">
                        <author>Blake, William</author>. <date>1789</date>. <title level="m">Songs of Innocence and of Experience</title>. <pubPlace>London</pubPlace>: <publisher>W Blake</publisher>. Encoded and made available by the University of Virginia Library, Text Collection at <ptr target="http://etext.lib.virginia.edu/toc/modeng/public/BlaSong.html"/>.</bibl>
          <bibl xml:id="browning1842">
                        <author>Browning, Robert</author>. <date>1842</date>. <title level="m">Dramatic Lyrics</title>. <pubPlace>London</pubPlace>: <publisher>Moxon</publisher>.</bibl>
          <bibl xml:id="carroll1865">
                        <author>Carroll, Lewis</author>. <date>1865</date>. <title level="m">Alice’s Adventures in Wonderland</title>. <pubPlace>New York</pubPlace>: <publisher>D. Appleton and co.</publisher> p. <biblScope unit="page">37</biblScope>.</bibl>
          <bibl xml:id="islam2004">
                        <editor>Islam, Mubina</editor>. <date>2004</date>. <title level="u">A Selection of Sonnets: electronic edition encoded in XML with a TEI DTD</title>. Unpublished Master’s Dissertation, <pubPlace>London</pubPlace>: <publisher>University College London</publisher>.</bibl>
          <bibl xml:id="shakespeare1978">
                        <author>Shakespeare, William</author>. <date>1978</date>. <title level="m">The Complete Works of William Shakespeare</title>. Edited by <editor>Alexander, Peter</editor>. <pubPlace>London</pubPlace>: <publisher>Collins</publisher>.</bibl>
          <bibl xml:id="swinburne1924">
                        <author>Swinburne, Algernon Charles</author>. <date>1924</date>. <title level="m">Swinburne’s Collected Poetical Works</title>. <pubPlace>London</pubPlace>: <publisher>William Heinemann</publisher>. p. <biblScope unit="page">330–31</biblScope>.</bibl>
        </listBibl>
      </div>
    </back>
  </text>
    <!-- 
        $Date: 2020-07-08 02:33:20 +0200 (Wed, 08 Jul 2020) $
        $Id: TBED04v00.xml 425 2020-07-08 00:33:20Z ron.vandenbranden $  -->
</TEI>