<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="browning" type="example">
        <head>Robert Browning: <title level="a">Porphyria’s Lover</title>
                </head>
        <p>The following example is the poem <title level="a">Porphyria’s Lover</title> by Robert Browning. Although no formal line groups are discerned, it has a systematic rhyme scheme repeating every 5 lines. This is indicated in the <att>rhyme</att> attribute of the outermost <gi>lg</gi> element. Some of the lines break up syntactic sentences; those have been marked with the value <val>yes</val> for an <att>enjamb</att> attribute.</p>
        <figure xml:id="browning-example">
          <egXML xmlns="http://www.tei-c.org/ns/Examples">
            <lg rhyme="ababb">
              <l>THE rain set early in to-night,</l>
              <l>The sullen wind was soon awake,</l>
              <l>It tore the elm-tops down for spite,</l>
              <l>And did its worst to vex the lake:</l>
              <l>I listen'd with heart fit to break.</l>
              <l>When glided in Porphyria; straight</l>
              <l>She shut the cold out and the storm,</l>
              <l enjamb="yes">And kneel'd and made the cheerless grate</l>
              <l>Blaze up, and all the cottage warm;</l>
              <l enjamb="yes">Which done, she rose, and from her form</l>
              <l>Withdrew the dripping cloak and shawl,</l>
              <l enjamb="yes">And laid her soil'd gloves by, untied</l>
              <l>Her hat and let the damp hair fall,</l>
              <l>And, last, she sat down by my side</l>
              <l>And call'd me. When no voice replied,</l>
              <l>She put my arm about her waist,</l>
              <l>And made her smooth white shoulder bare,</l>
              <l>And all her yellow hair displaced,</l>
              <l>And, stooping, made my cheek lie there,</l>
              <l>And spread, o'er all, her yellow hair,</l>
              <l enjamb="yes">Murmuring how she loved me—she</l>
              <l>Too weak, for all her heart's endeavour,</l>
              <l>To set its struggling passion free</l>
              <l>From pride, and vainer ties dissever,</l>
              <l>And give herself to me for ever.</l>
              <l>But passion sometimes would prevail,</l>
              <l>Nor could to-night's gay feast restrain</l>
              <l>A sudden thought of one so pale</l>
              <l>For love of her, and all in vain:</l>
              <l>So, she was come through wind and rain.</l>
              <l>Be sure I look'd up at her eyes</l>
              <l>Happy and proud; at last I knew</l>
              <l enjamb="yes">Porphyria worshipp'd me; surprise</l>
              <l>Made my heart swell, and still it grew</l>
              <l>While I debated what to do.</l>
              <l>That moment she was mine, mine, fair,</l>
              <l>Perfectly pure and good: I found</l>
              <l enjamb="yes">A thing to do, and all her hair</l>
              <l>In one long yellow string I wound</l>
              <l>Three times her little throat around,</l>
              <l>And strangled her. No pain felt she;</l>
              <l>I am quite sure she felt no pain.</l>
              <l>As a shut bud that holds a bee,</l>
              <l enjamb="yes">I warily oped her lids: again</l>
              <l>Laugh'd the blue eyes without a stain.</l>
              <l>And I untighten'd next the tress</l>
              <l enjamb="yes">About her neck; her cheek once more</l>
              <l>Blush'd bright beneath my burning kiss:</l>
              <l>I propp'd her head up as before,</l>
              <l>Only, this time my shoulder bore</l>
              <l>Her head, which droops upon it still:</l>
              <l>The smiling rosy little head,</l>
              <l>So glad it has its utmost will,</l>
              <l>That all it scorn'd at once is fled,</l>
              <l>And I, its love, am gain'd instead!</l>
              <l enjamb="yes">Porphyria's love: she guess'd not how</l>
              <l>Her darling one wish would be heard.</l>
              <l>And thus we sit together now,</l>
              <l>And all night long we have not stirr'd,</l>
              <l>And yet God has not said a word!</l>
            </lg>
          </egXML>
          <head type="legend">TBE-crafted example encoding of Robert Browing’s poem <title level="a">Porphyria’s Lover</title>, as it appeared in <title level="m">Dramatic Lyrics</title> (<ref type="bibl" target="#browning1842">Browning 1842</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>