<TEI xmlns="http://www.tei-c.org/ns/1.0">
  <teiHeader>
    <fileDesc>
      <titleStmt>
        <title type="main">TEI by Example</title>
        <title type="sub">Module 2: The TEI Header</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 practice 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-19" who="#RvdB">technical revision</change>
      <change when="2010-07-14" who="#RvdB">corrected significant typo (<gi>biblStruct</gi> for <gi>biblFull</gi>), removed <gi>ref</gi> around <gi>gi</gi>
            </change>
      <change when="2010-07-09" who="#RvdB">release</change>
      <change when="2009-09-28" who="#RvdB">corrected typos + examples</change>
      <change when="2009-08-18" who="#RvdB">creation</change>
    </revisionDesc>
  </teiHeader>
  <text xml:id="TBED02v00" type="tutorials">
    <body>
            <div xml:id="headerMin">
        <head>Exploring a Minimal TEI Header</head>
        <p>Let’s start this section with a mental exercise (though you are free to make it as physical as you want). Before the holidays, your partner presents you with a short list of book titles she would like to read. Since it is you who took a day off early, you take this wish list and set out to the public library. Most of the titles are easy to find, except for the somewhat more cryptic entry:
          <eg>
            Balzac or Zola (don't know exactly) ?
            something about a magic donkey (in English please!!!) -- sorry, dear, you're the best!</eg>
        </p>
        <p>There are many ways you could approach this problem: 
          <list rend="bulleted">
            <item>flesh out all works by Zola and Balzac on the library shelves and try to find the one(s) dealing with magic donkeys</item>
            <item>have a look at the available titles in the <soCalled>translated literature</soCalled> section</item>
            <item>try to google for more information first</item>
          </list>
        </p>
        <p>Depending on how greatly you value your free time, you will probably start / end up  asking the librarian, who will either scan her current knowledge of world literature or a catalogue of library records. Or, if you live in the twenty-first century, you will probably move to one of the library’s computer terminals, search for <q>Balzac</q> or <q>Zola</q> in the author field, narrow the search to <q>English</q> translations, and give it a try with <q>donkey</q> in the title field. If you lived in the twenty-second century, the search robot could probably analyse your search query, propose alternatives for unsuccessful search terms, and even suggest you’d give it a try with <q>ass</q> instead of <q>donkey</q>. For the time being, however, you’ll have to depend on your (librarian’s) world knowledge, patience, and/or creativity in order to find following information: 
          <figure xml:id="figure1">
            <graphic url="../../../images/tutorials/TBED02v00/wildass_cat.jpg"/>
            <head type="legend">A <ref target="https://catalogue.nla.gov.au/Record/1944299/Details">library catalogue record</ref>.</head>
        </figure>
        </p>
        <p>It is the last field of this library catalogue that will guide you to the right library shelf and a superb holiday. This exercise vulgarises the motivation to abstract primary information about bibliographic objects into fixed categories. In the analog world, this happened on printed library catalogue records; nowadays these are entered as digital records in databases of library catalogues. These fixed categories together make up an <soCalled>identity card</soCalled> of a literary work.</p>
        <p>The TEI Guidelines consider such a virtual <soCalled>identity card</soCalled> an essential part of each TEI document. It must be encoded within a <gi>teiHeader</gi> element, before the actual text contents in the <gi>text</gi> part. The <soCalled>ID categories</soCalled> of the TEI header are the subject of this tutorial module. As a trade-off between exhaustivity and usability, the TEI Guidelines define a wide range of specific TEI Header elements, only a few of which are mandatory. A minimal TEI header for the work described in the catalogue record above would look as follows:
          <figure xml:id="example1">
            <egXML xmlns="http://www.tei-c.org/ns/Examples">
              <teiHeader>
                <fileDesc>
                  <titleStmt>
                    <title>The Wild Ass’s Skin: an electronic edition</title>
                  </titleStmt>
                  <publicationStmt>
                    <p>Published as an example for the header module of TBE.</p>
                  </publicationStmt>
                  <sourceDesc>
                    <p>Honoré de Balzac (1906). The Wild Ass’s Skin.</p>
                  </sourceDesc>
                </fileDesc>
              </teiHeader>
            </egXML>
            <head type="legend">A minimal TEI header.</head>
          </figure>
        </p>
        <p>This example shows how a <gi>teiHeader</gi> element must contain a <gi>fileDesc</gi> (file description) element, providing a description of the <emph>electronic</emph> file. In order to be complete, it must consist of three subsections, in that order:
          <list rend="ordered">
            <item>
                            <gi>titleStmt</gi>: a title statement about the electronic text</item>
            <item>
                            <gi>publicationStmt</gi>: information on the publication of the electronic text</item>
            <item>
                            <gi>sourceDesc</gi>: a bibliographic description of the source for the electronic text</item>
          </list>
        </p>
        <p>The <gi>titleStmt</gi> element must minimally contain a title for the electronic text. Depending on the nature of this text, this title may repeat the original’s title, followed by a paraphrase like <q>electronic version/transcription/edition</q>. Details about the publication and source of the electronic text must be provided in <gi>publicationStmt</gi> and <gi>sourceDesc</gi> respectively. These details ca be given either as informal prose in loose paragraphs, or in specialised elements. Those are covered in detail in the next sections of this tutorial.</p>
        <p>You will have noticed that this minimal example of a TEI header does quite a poor job providing an identity card of this novel, compared to the library record example above. However, there are two things of notice:
          <list rend="ordered">
            <item>the TEI header is an integral part of any TEI document, and <emph>must</emph> precede the <gi>text</gi> element with the actual text content</item>
            <item>the TEI header minimally documents aspects of the title, publication, and source of the <emph>electronic</emph> text</item>
          </list>
        </p>
        <p>Of course, the TEI header allows for much more descriptive sophistication. The most important sections of the TEI header are treated in the next sections of this tutorial.</p>
        <note type="summary">The TEI header contains meta-information about the electronic text, and is considered an integral part of it. Therefore, the <gi>teiHeader</gi> element must precede the <gi>text</gi> part of any TEI text, documenting at least some aspects of the electronic text in a <gi>fileDesc</gi> element. A file description minimally contains information about the title of the electronic text in <gi>titleStmt</gi>, about its publication in <gi>publicationStmt</gi>, and bibliographic information about the source document from which it is derived <gi>sourceDesc</gi>.</note>
      </div>
        </body>
  </text>
  <!-- 
        $Date: 2020-07-08 02:33:20 +0200 (Wed, 08 Jul 2020) $
        $Id: TBED02v00.xml 425 2020-07-08 00:33:20Z ron.vandenbranden $  -->
</TEI>