<TEI xmlns="http://www.tei-c.org/ns/1.0">
  <teiHeader>
    <fileDesc>
      <titleStmt>
        <title type="main">TEI by Example</title>
        <title type="sub">Module 1: Common Structure, Elements, and Attributes</title>
        <author xml:id="EV">Edward Vanhoutte</author>
        <author xml:id="RvdB">Ron Van den Branden</author>
        <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-22" who="#RvdB">technical revision</change>
      <change when="2010-07-13" who="#RvdB">
                <list>
                    <item>added distinction <gi>gi</gi> — <tag>gi scheme="..."</tag> — <gi>tag</gi>
                    </item>
        <item>final spellcheck</item>
                </list>
            </change>
      <change when="2010-07-09" who="#RvdB">release</change>
      <change when="2009-11-20" who="#EV">general contents completed</change>
      <change when="2009-11-13" who="#EV">intermediate update</change>
      <change when="2009-11-12" who="#EV">intermediate update</change>
      <change when="2009-11-05" who="#EV">intermediate update</change>
      <change when="2009-10-30" who="#EV">intermediate update</change>
      <change when="2009-10-28" who="#EV">intermediate update</change>
      <change when="2009-06-10" who="#EV">Authoring</change>
    </revisionDesc>
  </teiHeader>
  <text xml:id="TBED01v00" type="tutorials">
    <body>
            <div xml:id="generalsummary">
        <head>Summary</head>
        <p>After this overview of the most common structures and elements of a TEI document, it is time to put them all together:
          <figure xml:id="example52">
            <egXML xmlns="http://www.tei-c.org/ns/Examples">
              <TEI>
                <teiHeader>
                  <fileDesc>
                    <titleStmt>
                      <title>The Strange Adventures of Dr. Burt Diddledygook: a machine-readable transcription</title>
                      <respStmt>
                        <resp>editor</resp>
                        <name xml:id="EV">Edward Vanhoutte</name>
                      </respStmt>
                    </titleStmt>
                    <publicationStmt>
                      <p>Not for distribution.</p>
                    </publicationStmt>
                                        <sourceDesc>
                      <p>Transcribed from the diaries of the late Dr. Roy Offire.</p>
                    </sourceDesc>
                  </fileDesc>
                  <encodingDesc>
                    <tagsDecl>
                      <rendition xml:id="italic">font-style:italic;</rendition>
                      <namespace name="http://www.tei-c.org/ns/1.0">
                        <tagUsage gi="hi" rendition="#italic"/>
                      </namespace>
                    </tagsDecl>
                  </encodingDesc>
                </teiHeader>
                <text>
                  <front>
                    <div type="dedication">
                      <p>In memory of Lisa Wheeman.</p>
                    </div>
                    <titlePage>
                      <docAuthor>Roy Offire</docAuthor>
                      <docTitle>
                        <titlePart type="main">The Strange Adventures of Dr. Burt Diddledygook</titlePart>
                        <titlePart type="sub">Wanderings in the life of a buoyant academic</titlePart>
                      </docTitle>
                      <byline>Transcribed from the diaries.</byline>
                      <docEdition>First Edition</docEdition>
                      <docImprint>
                                                <pubPlace>Kirkcaldy</pubPlace>, <publisher>Bucket Books</publisher>, <docDate>1972</docDate>
                      </docImprint>
                    </titlePage>
                    <div type="contents">
                      <head>Table of Contents</head>
                      <list>
                        <item>I. The Decision</item>
                        <item>II. The Fuss</item>
                        <item>III. The Celebration</item>
                      </list>
                    </div>
                  </front>
                  <body>
                    <p n="1">For the first time in <date from="1935" to="1960">twenty-five years</date>, <choice>
                                                <abbr type="title">Dr</abbr>
                                                <expan>Doctor</expan>
                                            </choice> Burt Diddledygook decided not to turn up to the annual meeting of the Royal Academy of Whoopledywhaa<index indexName="institutions">
                                                <term>Academy</term>
                                                <index>
                                                    <term>Royal</term>
                                                </index>
                                            </index> (<abbr type="acronym">RAW</abbr>). <gap reason="irrelevant" unit="words" extent="32">
                                                <desc>Commentary on the founding charter of the RAW</desc>
                                            </gap> It was a sunny day in <date notBefore="1960-09-15" notAfter="1960-09-30">
                                                <add place="supralinear">late</add> September 1960</date> bang on <time when="12:00:00">noontime</time> and <abbr type="title">Dr</abbr> Burt was looking forward to a <subst>
                                                <del rend="overstrike">walk</del>
                                                <add place="infralinear">stroll</add>
                                            </subst> in the park instead. He hoped his fellow members of the <abbr type="acronym">RAW</abbr> weren't even going to notice his absence.</p>
                    <p n="2">Or worse, what would happen when another Academy member had decided to go for a stroll in the park instead? He quickly thought up several possible plans:</p>
                    <list>
                      <item>hide behind a tree and duck</item>
                      <item>catch the duck as subject material for a speech on the annual meeting</item>
                      <item>be frank, meet his colleague, and <list>
                        <item>1. pat him on the shoulder</item>
                        <item>2. tell a joke</item>
                        <item>3. hand him the duck</item>
                        <item>4. offer him a sip from his <measure type="volume" quantity="2.5" unit="litre" commodity="coca-cola">2.5 l bottle of coke</measure>
                                                    </item>
                        <item>5. pull his beard</item>
                      </list>
                                            </item>
                    </list>
                    <p n="3">Or maybe he could still announce his absence from the meeting by sending an antedated letter of apology to <address>
                      <name type="person">Professor M. Orkelidius</name>
                      <name type="organisation">Royal Academy of Whoopledywhaa</name>
                      <street>Queenstreet 81</street>
                      <postCode>TB90 00E</postCode>
                      <name type="city">Whoopledywhaa</name>
                    </address>
                                        </p>
                    <p n="4" xml:lang="en">'Plenty of options', he thought, sat on a bench and opened the book he had taken from the Whoopledywhaaian National Library<index indexName="institutions">
                                                <term>Library</term>
                                                <index>
                                                    <term>National</term>
                                                </index>
                                            </index>
                                            <note n="1" place="foot" type="authorial">The National Library of Whoopledywhaa was founded in 1886 with the acquisition of the library of the late King Anthony.</note>. It was titled <title type="m" rend="italics">While <choice>
                      <orig>thou</orig>
                      <reg resp="#EV">you</reg>
                    </choice>
                      <choice>
                        <orig>art</orig>
                        <reg resp="#EV">are</reg>
                      </choice> here</title>, by Sir Edmund <choice>
                        <corr>Peckwood</corr>
                        <sic>Petwood</sic>
                      </choice>
                                            <note type="editorial" resp="#EV">The manuscript reads 'Petwood'.</note>.
                      <figure n="2">
                        <figure n="2a">
                          <graphic url="wtatcoverfront.jpg"/>
                          <head>Front</head>
                        </figure>
                        <figure n="2b">
                          <graphic url="wtatcoverback.jpg"/>
                          <head>Back</head>
                        </figure>
                        <head>Figure 2:</head>
                        <p>Front and back cover of the first print edition of "While thou art here" by Sir Edmund Peckwood from the rare books collection of the National Library of Whoopledywhaa.</p>
                      </figure>
                      While reading the first sentence, his placid expression turned to a certain <hi xml:lang="fr" rend="italics">je ne sais quoi</hi>: 'For the first time in twenty-five years, <choice>
                                                <abbr type="title">Dr</abbr>
                                                <expan>Doctor</expan>
                                            </choice> Burt Diddledygook decided not to turn up to the annual meeting of the <name type="organisation" rend="italics">Royal Academy of Whoopledywhaa</name>
                                            <index indexName="institutions">
                                                <term>Academy</term>
                                                <index>
                                                    <term>Royal</term>
                                                </index>
                                            </index>.'</p>
                  </body>
                  <back>
                    <div type="colophon">
                      <p>Typeset in Haselfoot 37 and Henry 8. Printed and bound by Whistleshout, South Africa.</p>
                    </div>
                  </back>
                </text>
              </TEI>
            </egXML>
            <head type="legend">A fully encoded transcription of the example text.</head>
          </figure>
        </p>
      </div>
        </body>
  </text>
  <!-- 
        $Date: 2020-07-08 02:33:20 +0200 (Wed, 08 Jul 2020) $
        $Id: TBED01v00.xml 425 2020-07-08 00:33:20Z ron.vandenbranden $  -->
</TEI>