<TEI xmlns="http://www.tei-c.org/ns/1.0">
  <teiHeader>
    <fileDesc>
      <titleStmt>
        <title type="main">TEI by Example</title>
        <title type="sub">Module 3: Prose</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="TBED03v00" type="examples">
    <body>
            <div xml:id="cather" type="example">
        <head>Willa Cather: <title level="a">Roll Call on the Prairies</title>
                </head>
        <p>The following example is an excerpt from Willa Carther’s <title level="a">Roll Call on the Prairies</title> in <title level="j">The Red Cross Magazine</title>, 1919. This prose account of life during the first World War in the plains of Nebraska is encoded in paragraphs. Page numbers occur in <gi>pb</gi> tags, with the actual page number as the value of the <att>n</att> attribute.</p>
        <p>This example contains the encoding of a picture in a <gi>figure</gi> element, grouping together a heading (<gi>head</gi>) and a description of the image (<gi>figDesc</gi>. The actual digital representation of the picture is pointed to with the <gi>graphic</gi> element, whose <att>url</att> attribute carries the URL of the digital scan.</p>
        <p>Notice that in this example, a couple of things could have been further encoded. The <q>foreign mail</q> phrase could be identified with a <gi>soCalled</gi> tag; the fragment <q>
                        <q>And in this country<gap/> pride,</q>
                    </q> could be encoded as direct speech with a <gi>q</gi> element, either with or without retaining the quotation marks in the actual transcription.</p>
        <figure xml:id="cather-example">
          <egXML xmlns="http://www.tei-c.org/ns/Examples">
            <p>Letters from the front usually reached our town on Saturday nights. The "foreign mail" had become a feature of life in Kansas and Nebraska. The letters came in bunches; if one mother heard from her son, so did half a dozen others. One could hear them chatting to each other about what Vernon thought of Bordeaux, or what Roy had to say about the farming country along the Oise, or how much Elmer had enjoyed his rest leave in Paris. To me, knowing the boys, nearly all of these letters were remarkable. The most amusing were those which made severe strictures upon American manners; the boys were afraid the French would think us all farmers! One complained that his comrade
              <pb facs="cat.nf007.003" n="29"/>
              <figure>
                <graphic url="cat.nf007.fig1"/>
                <head type="main">Fifty dollars saved from egg money for a needed new dress and coat went for a Liberty Bond "to help fight Austria"</head>
                <p/>
                <figDesc>Illustration of two women standing in a parlor, one the Liberty Bond canvasser and the other the woman of the house who buys a Liberty Bond with her egg money.</figDesc>
              </figure>
              
              talked and pushed chairs about in the Y hut while the singers who came to entertain them were on the platform. "And in this country, too, the Home of Politeness! Some yaps have no pride," he wrote bitterly. I can say for the boys from our town that they wanted to make a good impression.</p>
          </egXML>
          <head type="legend">A fragment of a TEI encoding of Willa Cather’s <title level="a">Roll Call on the Prairies</title> (<ref type="bibl" target="#cather1919">Cather 1919</ref>). TEI XML source available from <ptr target="https://cdrhmedia.unl.edu/data/cather/source/tei/cat.nf007.xml"/>.</head>
        </figure>
      </div>
        </body>
    <back>
      <div type="bibliography">
        <listBibl>
          <bibl xml:id="bronte1847">
                        <author>Bronte, Emily</author>. <date>1847</date>. <title level="m">Wuthering Heights</title>. <pubPlace>London</pubPlace>: <publisher>Thomas Cautley Newby, publisher</publisher>. Encoded and made available by the University of Virginia Library, Text Collection at <ptr target="http://etext.lib.virginia.edu/toc/modeng/public/BroWuth.html"/>.</bibl>
          <bibl xml:id="cather1919">
                        <author>Cather, Willa</author>. <date>1919</date>. <title level="a">Roll Call on the Prairies</title>. <title level="j">The Red Cross Magazine</title>, <biblScope unit="issue">14</biblScope> (<date>July 1919</date>). <biblScope unit="page">27–31</biblScope>. Edited by <editor>Andrew Jewell</editor>. <pubPlace>Lincoln</pubPlace>: <publisher>Center for Digital Research in the Humanities, University of Nebraska-Lincoln</publisher>. Available online at         <ptr target="http://cather.unl.edu/nf007.html"/>.</bibl>
          <bibl xml:id="jones2006">
                        <author>Jones, Malcolm</author>. <date>2006</date>. <title level="a">Print of the month, September 2006</title>. <title level="s">British Printed Images to 1700</title>. <pubPlace>London</pubPlace>: <publisher>Centre for Computing in the Humanities, King’s College</publisher>. Available online at <ptr target="https://web.archive.org/web/20160604002829/http://www.bpi1700.org.uk/research/printOfTheMonth/september2006.html"/>.</bibl>
          <bibl xml:id="morgan1997">
                        <author>Morgan, Eric Lease</author>. <date>1997</date>). <title level="a">Clarence meets Alcuin; or, expert systems are still an option in reference work.</title> In: <title level="m">The Cybrarian’s manual</title>. Edited by <editor>P. Ensor</editor>. <pubPlace>Chicago</pubPlace>: <publisher>American Library Association</publisher>. <biblScope unit="page">127–134</biblScope>. Available online at <ptr target="http://infomotions.com/musings/clarence-meets-alcuin/"/>.</bibl>
          <bibl xml:id="muller">
                        <author>Muller, Charles</author>. <date>s.d.</date> <title level="u">XML Technical Notes on the Yogācāra Bibliography</title>. Accompanying documentation for the Yogācāra Buddhism Research Association. Available online at <ptr target="http://www.acmuller.net/yogacara/bibliography/bibnotes.html"/>.</bibl>
        </listBibl>
      </div>
    </back>
  </text>
  <!-- 
        $Date$
        $Id$  -->
</TEI>