<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>
            <head>Module 3: Prose</head>
            <div xml:id="BPI" type="example">
        <head>British Printed Images</head>
        <p>The next example contains Dr Malcolm Jones’ (University of Sheffield) description of printed images from early modern England, in the context of the project <title level="m">British Printed Images to 1700</title> by the Centre for Computing in the Humanities of King’s College, London.</p>
        <p>This prose description of an image is wrapped in a <gi>div</gi> element, consisting of a <gi>head</gi> and multiple paragraphs. The first paragraph contains the image, with a pointer to its digital representation in the <gi>graphic</gi> element’s <att>url</att> attribute. Notice how the <att>rend</att> attribute is used to encode specific information for rendition of the image as a thumbnail. Although the caption of the image is encoded as bold text inside a <gi>p</gi>, it could as well have been encoded as <gi>head</gi>. The text contains a quote, marked as <gi>q</gi> and containing a poem, organised in line groups and lines. Inside the paragraphs, highlighted text is marked with <gi>hi</gi>, titles with <gi>title</gi>, and notes with <gi>note</gi>. For a discussion of these elements, see <ptr type="crossref" target="../tutorials/TBED01v00.htm"/>.</p>
        <figure xml:id="bpi-example">
          <egXML xmlns="http://www.tei-c.org/ns/Examples">
            <div>
              <head>No. 2, September 2006</head>
              <p>                                
                <figure>
                                    <graphic url="shrews" rend="thumb"/>
                  <p>
                                        <hi rend="bold">‘A New yeares guift for shrews’</hi>
                                    </p>
                </figure>
              </p>
              <p>
                <hi>A New yeares guift for shrews</hi> is a diminutive sheet engraved c.1630 and signed by the relatively unknown Thomas Cecill, who seems to have been active between 1625 and 1640. It bears the imprint of the even less known Edward Lee, whose only other issue is a large equestrian portrait of Charles I.</p>
              <p>In a series of unified scenes, it depicts the traditional nagging wife eventually beaten by her husband, and ultimately chased off by the devil. It is accompanied by the following rhyme of a traditional type, reminiscent of the ditty about <hi>Solomon Grundy</hi>, who was <hi>Born on Monday</hi>, and then on successive days christened, married, taken fatally ill and <hi>Buried on Sunday</hi>:
              </p>
              <q>
                <lg rend="italics">
                  <l>Who marieth a wife uppon a Moneday,</l>
                  <l>If she will not be good uppon a Tewesday,
                  </l>
                                    <l>Lett him go to the wood uppon a Wensday,
                  </l>
                                    <l>And cutt him a cudgell uppon the Thursday,
                  </l>
                                    <l>And pay her soundly uppon a Fryday;
                  </l>
                                    <l>And<note>
                                            <hi>And</hi>: if</note> she mend not, the Divil take her a Saterday
                  </l>
                                    <l>Then may he eate his meate in peace on the Sonday.</l>
                </lg>
                            </q>
              <p>In the final scene the husband is shown happily enjoying a jug of ale at an ale-bench outside ‘The Swan’ - to judge from the inn-sign. Another interesting detail of the contemporary street-scene is the latticed box attached to the tavern wall: at <hi>lattice</hi>, the <hi>Oxford English Dictionary</hi> explains: <hi>A window of lattice-work (usually painted red), or a pattern on the shutter or wall imitating this, formerly a common mark of an alehouse or inn.</hi> The <hi>Dictionary</hi> illustrates this usage with a quotation from Richard Harvey's <hi>Plaine Percevall</hi>  (1590), and one not inappropriate to our print: <hi>As they which determine upon an Ale bench whether the passenger that passeth by the lettise be a Saint or a Divell</hi>.
              </p>
              <p>It was clearly popular, for it appears in Peter Stent’s advertisements of 1654 and 1662, and is still listed in his successor John Overton’s catalogue of 1673,<note>Alexander Globe, <title level="m">Peter Stent, London Printseller,  c.</title> 1642-65 (Vancouver, 1985), p. 123 (no.*448).</note>  yet only the unique impression in the British Museum's Department of Prints &amp; Drawings survives - testimony to the great rarity of such popular material.</p>
              <p>David Kunzle was the first to point out the likely dependence of <hi>A New yeares guift</hi> on a contemporary German sheet, <hi>Ein köstlich gutes bewertes Recept vor die Männer so böse Weiber haben</hi> [A precious and valuable prescription for men who have such evil wives], though in the German sheet the process of correction takes nine days; he drives into the wood on Monday, cuts sticks on Tuesday, beats her on Wednesday, and so on.<note>D. Kunzle, <title level="m">The Early Comic Strip, c. 1450-1825</title> (Berkeley and Los Angeles, 1973), pp. 230-1 (fig. 8-9).</note> The English shrew is shown fleeing before a sturdy devil, his pitchfork raised, as he pursues her – into hell, presumably.
              </p>
              <p>
                                <hi rend="bold">British Museum 1850,1109.10. Dimensions of original: 189 mm x 206 mm.</hi>
                            </p>    
            </div>
          </egXML>
          <head type="legend">Adapted from the TEI P4 XML source encoding of Malcolm Jones’ article <title level="a">Print of the month, September 2006</title> (<ref type="bibl" target="#jones2006">Jones 2006</ref>). TEI XML source is no longer available online.</head>
        </figure>
      </div>
            <div xml:id="biblStruct">
        <head>Charles Muller: <gi>biblStruct</gi> Examples</head>
        <p>In the technical documentation of the Yogācāra Bibliography, Charles Muller illustrates the encoding conventions used for the bibliographic encoding of different types of publications, using <gi>biblStruct</gi>.</p>
        <div xml:id="simple" type="example">
          <head>A Standard Published Manuscript</head>
          <p>As for any independently published work, the most common bibliographic facts of interest are the work’s author, title, place and date of publication, and publisher. These are encoded with their relevant TEI elements, and grouped in a <gi>monogr</gi> element. Notice, how the <att>level</att> attribute on the <gi>title</gi> element indicates the status of this work as <soCalled>monography</soCalled> (by means of the <val>m</val> value).</p>
          <figure xml:id="biblStruct-example1">
            <egXML xmlns="http://www.tei-c.org/ns/Examples">
              <biblStruct xml:id="lusthaus-2002">
                <monogr>
                  <author>Lusthaus, Dan</author>
                  <title level="m">Buddhist Phenomenology: A Philosophical Investigation of Yogācāra Buddhism and the Ch'eng Wei-shih Lun</title>
                  <imprint>
                    <pubPlace>London</pubPlace>
                    <publisher>RoutledgeCurzon</publisher>
                    <date>2002</date>
                  </imprint>
                </monogr>
              </biblStruct>
            </egXML>
            <head type="legend">A <gi>biblStruct</gi> encoding of a standard published manuscript (<ref type="bibl" target="#muller">Muller</ref>).</head>
          </figure>
        </div>
        <div xml:id="artVol" type="example">
          <head>An Article in a Volume</head>
          <p>When a bibliographic item is part of a larger bibliographic item, both can be described in a single <gi>biblStruct</gi> element. The details of the smallest bibliographic item (the article) are grouped in an <gi>analytic</gi> element. Notice, how the status of the article’s title is pointed out in the <att>level</att> attribute on the <gi>title</gi> element: <val>a</val> for <soCalled>analytic</soCalled>.</p>
          <p>The containing bibliographic item is described in the <gi>monogr</gi> element, with the usual bibliographic elements. Notice, how the scope of the article within the larger work is encoded with <gi>biblScope</gi>, whose unit of measurement is identified as <val>pages</val> in a <att>unit</att> attribute.</p>
          <figure xml:id="biblStruct-example2">
            <egXML xmlns="http://www.tei-c.org/ns/Examples">
              <biblStruct>
                <analytic>
                  <author>Weinstein, Stanley</author>
                  <title level="a">The Ālaya-vijñāna in Early Yogācāra Buddhism--a Comparison of the
                    Meaning in the Saṃdhinirmocana-sūtra and Vijñapti-mātratā-siddhi
                    of Dharmapāla</title>
                </analytic>
                <monogr>
                  <title level="m">Transactions of the
                    International Conference of Orientalists in
                    Japan</title>
                  <imprint>
                    <biblScope unit="page">46-58</biblScope>
                    <pubPlace>Tokyo</pubPlace>
                    <publisher>Toho Gakkai</publisher>
                    <date>1958</date>
                  </imprint>
                </monogr>
              </biblStruct>
            </egXML>
            <head type="legend">Adapted from a TEI P4 <gi>biblStruct</gi> encoding of an article in a volume (<ref type="bibl" target="#muller">Muller</ref>).</head>
          </figure>
        </div>
        <div xml:id="artJourn" type="example">
          <head>An Article in a Journal</head>
          <p>The encoding of a journal article closely resembles that of an article in a volume: details of the article go in <gi>analytic</gi>, while those of the larger work are enclosed in <gi>monogr</gi>. Notice, how the status of journal title is identified by the <val>j</val> value for the title’s <att>level</att> attribute. Here, the <gi>biblScope</gi> element is used both for identifying the pages on which the article appears (<code>unit="page"</code>), and the journal volume in which the article appears (<code>unit="volume"</code>).</p>
          <figure xml:id="biblStruct-example3">
            <egXML xmlns="http://www.tei-c.org/ns/Examples">
              <biblStruct xml:id="Sponberg-1979">
                <analytic>
                  <author>Sponberg, Alan</author>
                  <title level="a">Dynamic Liberation in Yogācāra Buddhism</title>
                </analytic>
                <monogr>
                  <title level="j">Journal of the International Association of Buddhist Studies</title>
                  <imprint>
                    <biblScope unit="volume">2(1)</biblScope>
                    <biblScope unit="page">44-64</biblScope>
                    <date>1979</date>
                  </imprint>
                </monogr>
              </biblStruct>
            </egXML>
            <head type="legend">Adapted from a TEI P4 <gi>biblStruct</gi> encoding of an article in a journal (<ref type="bibl" target="#muller">Muller</ref>).</head>
          </figure>
        </div>
        <div xml:id="editVol" type="example">
          <head>An Edited Volume</head>
          <p>The encoding of an edited volume closely resembles that of any other independently published work, only here the <gi>editor</gi> element is used instead of <gi>author</gi>.</p>
          <figure xml:id="biblStruct-example4">
            <egXML xmlns="http://www.tei-c.org/ns/Examples">
              <biblStruct xml:id="Kawamura-1978">
                <monogr>
                  <editor>Kawamura, Leslie</editor>
                  <title level="m">The Bodhisattva Doctrine in Buddhism</title>
                  <imprint>
                    <pubPlace>Canada</pubPlace>
                    <publisher>Wilfred Laurier University Press</publisher>
                    <date>1978</date>
                  </imprint>
                </monogr>
              </biblStruct>
            </egXML>
            <head type="legend">A <gi>biblStruct</gi> encoding of an edited volume (<ref type="bibl" target="#muller">Muller</ref>).</head>
          </figure>
        </div>
        <div xml:id="unpubDiss" type="example">
          <head>An Unpublished Dissertation</head>
          <p>For the bibliographic description of an unpublished dissertation, as much information as possible can be given in the usual places, while its unpublished status can be indicated with the value <val>u</val> for the <att>type</att> attribute of the <gi>title</gi> element. Also, in the following example, the work’s status as Ph.D dissertation is pointed out in an extra <gi>note</gi> element inside <gi>monogr</gi>.</p>
          <figure xml:id="biblStruct-example5">
            <egXML xmlns="http://www.tei-c.org/ns/Examples">
              <biblStruct xml:id="Anacker-1969">
                <monogr>
                  <author>Anacker, Stefan</author>
                  <title level="u">Vasubandhu: Three Aspects</title>
                  <note>Ph.D dissertation</note>
                  <imprint>
                    <publisher>University of Wisconsin</publisher>
                    <pubPlace>Madison</pubPlace>
                    <date>1969</date>
                  </imprint>
                </monogr>
              </biblStruct>
            </egXML>
            <head type="legend">A <gi>biblStruct</gi> encoding of an unpublished dissertation (<ref type="bibl" target="#muller">Muller</ref>).</head>
          </figure>
        </div>
      </div>
            <div xml:id="bronte" type="example">
        <head>Emily Bronte: <title level="m">Wuthering Heights</title>
                </head>
        <p>The following example is a fragment of Emily Bronte’s novel <title level="m">Wuthering Heights</title>, encoded and made available by the University of Virginia Library, for their Text Collection. The work consists of two volumes, containing 34 chapters. These are encoded as numbered text divisions. Each volume is encoded as <tag>div1 type="volume"</tag>; each chapter occurs one level deeper as <tag>div2 type="chapter"</tag>. Structurally, the text is fairly simple, consisting mainly of paragraphs (<gi>p</gi>). Page breaks are encoded as <gi>pb</gi> elements, whose <att>n</att> attributes record the number of the respective pages. The transcription contains one quoted song, encoded as a <gi>q</gi> element, in which each quoted song line occurs as <gi>l</gi>:
          <egXML xmlns="http://www.tei-c.org/ns/Examples">
            <q>
                            <l>"It was far in the night, and the bairnies grat,</l>
                            <l>The
              mither beneath the mools heard that" — </l>
                        </q>
          </egXML>
          One more complex structure consists of an embedded epistle, concluding the 17th chapter. This is encoded as a <tag>div3 type="epistle"</tag> element. The text’s concluding formula <q>The End</q> is transcribed as <gi>trailer</gi> inside the last chapter.</p> 
        <figure xml:id="bronte-example">
          <egXML xmlns="http://www.tei-c.org/ns/Examples">
            
            <text xml:id="d1">
              <body xml:id="d2">
                <div1 type="volume" n="1" xml:id="d3">
                  <head>Volume 1</head>
                  <!-- ... -->
                  <div2 type="chapter" n="1.13" xml:id="d16">
                    <head>Chapter 1.13</head>
                    <pb n="134"/>
                    <p>For two months the fugitives remained absent; in those two months, Mrs.
                      Linton encountered and conquered the worst shock of what was denominated a
                      brain fever. No mother could have nursed an only child more devotedly than
                      Edgar tended her. Day and night he was watching, and patiently enduring all
                      the annoyances that irritable nerves and a shaken reason could inflict: and,
                      though Kenneth remarked that what he saved from the grave would only
                      recompense his care by forming the source of constant future anxiety — in
                      fact, that his health and strength were being sacrificed to preserve a mere
                      ruin of humanity — he knew no limits in gratitude and joy, when Catherine's
                      life was declared out of danger; and hour after hour he would sit beside
                      her, tracing the gradual return to bodily health, and flattering his too
                      sanguine hopes with the illusion that her mind would settle back to its
                      right balance also, and she would soon be entirely her former self.</p>
                    <p>The first time she left her chamber, was at the commencement of the following
                      March. Mr. Linton had put on her pillow, in the morning, a handful of golden
                      crocuses; her eye, long stranger to any gleam of pleasure, caught them in
                      waking, and shone delighted as she gathered them eagerly together.</p>
                    <p>"These are the earliest flowers at the Heights!" she exclaimed. "They remind
                      me of soft thaw winds, and warm sunshine, and nearly melted snow — Edgar, is
                      there not a south wind, and is not the snow almost gone ?"</p>
                    <p>"The snow is quite gone down here, darling," replied her husband, "and I only
                      see two white spots on the whole range of moors. The sky is blue, and the
                      larks are singing, and the becks and brooks are all brim full. Catherine,
                      last spring at this time I was longing to have you under this roof; now I
                      wish you were a mile or two up those hills; the air blows so sweetly, I feel
                      that it would cure you." </p>
                    <pb n="135"/>
                    <p>"I shall never be there but once more," said the invalid; "and then you'll
                      leave me, and I shall remain for ever. Next spring you'll long again to have
                      me under this roof, and you'll look back and think you were happy to-day." </p>
                    <p>Linton lavished on her the kindest caresses, and tried to cheer her by the
                      fondest words; but, vaguely regarding the flowers, she let the tears collect
                      on her lashes and stream down her cheeks unheeding. We knew she was really
                      better, and therefore decided that long confinement to a single place
                      produced much of this despondency, and it might be partially removed by a
                      change of scene. The master told me to light a fire in the
                      many-weeks-deserted parlour, and to set an easy-chair in the sunshine by the
                      window; and then he brought her down, and she sat a long while enjoying the
                      genial heat, and, as we expected, revived by the objects round her, which,
                      though familiar, were free from the dreary associations investing her hated
                      sick chamber. By evening she seemed greatly exhausted, yet no arguments
                      could persuade her to return to that apartment; and I had to arrange the
                      parlour sofa for her bed, till another room could be prepared. To obviate
                      the fatigue of mounting and descending the stairs, we fitted up this, where
                      you lie at present, on the same floor with the parlour; and she was soon
                      strong enough to move from one to the other, leaning on Edgar's arm. Ah, I
                      thought myself she might recover, so waited on as she was. And there was
                      double cause to desire it, for on her existence depended that of another; we
                      cherished the hope that in a little while Mr. Linton's heart would be
                      gladdened, and his lands secured from a stranger's gripe, by the birth of an
                      heir. </p>
                    <p>I should mention that Isabella sent to her brother, some six weeks from her
                      departure, a short note announcing her marriage with Heathcliff. It appeared
                      dry and cold, but at the bottom was dotted in with pencil an obscure
                      apology, and an entreaty for kind remembrance and reconciliation, if her
                      proceeding had offended him, asserting that she could not help it then, and,
                      being done, she had now no power to repeal it. <pb n="136"/>Linton did not
                      reply to this, I believe; and in a fortnight more I got a long letter which
                      I considered odd, coming from the pen of a bride just out of the honeymoon.
                      I'll read it, for I keep it yet. Any relic of the dead is precious if they
                      were valued living. </p>
                    <div3 type="epistle" xml:id="d17">
                      <p>DEAR ELLEN, it begins, I came last night to Wuthering Heights, and heard
                        for the first time that Catherine has been, and is yet, very ill. I must
                        not write to her, I suppose, and my brother is either too angry or too
                        distressed to answer what I sent him. Still, I must write to somebody,
                        and the only choice left me is you. </p>
                      <p>Inform Edgar that I'd give the world to see his face again — that my
                        heart returned to Thrushcross Grange in twenty-four hours after I left
                        it, and is there at this moment, full of warm feelings for him and
                        Catherine. I can't follow it, though (those words are underlined); they
                        need not expect me; and they may draw what conclusions they please,
                        taking care, however, to lay nothing at the door of my weak will or
                        deficient affection. </p>
                      <p>The remainder of the letter is for yourself alone. I want to ask you two
                        questions; the first is — How did you contrive to preserve the common
                        sympathies of human nature when you resided here? I cannot recognize any
                        sentiment which those around share with me. </p>
                      <p>The second question I have great interest in; it is this — Is Mr.
                        Heathcliff a man? If so, is he mad? And if not, is he a devil? I shan't
                        tell my reasons for making this inquiry, but I beseech you to explain,
                        if you can, what I have married — that is, when you call to see me; and
                        you must call, Ellen, very soon. Don't write, but come, and bring me
                        something from Edgar. </p>
                      <p>Now you shall hear how I have been received in my new home, as I am led
                        to imagine the Heights will be. It is to amuse myself that I dwell on
                        such subjects as the lack of external comforts; they never occupy my
                        thoughts, except at the moment when I miss them. I should laugh and
                        dance for joy if I found their absence <pb n="137"/> was the total of my
                        miseries, and the rest was an unnatural dream. </p>
                      <p>The sun set behind the Grange as we turned on to the moors: by that I
                        judged it to be six o'clock; and my companion halted half an hour to
                        inspect the park and the gardens, and probably the place itself, as well
                        as he could; so it was dark when we dismounted in the paved yard of the
                        farmhouse, and your old fellow-servant Joseph issued out to receive us
                        by the light of a dip candle. He did it with a courtesy that redounded
                        to his credit. His first act was to elevate his torch to a level with my
                        face, squint malignantly, project his under lip, and turn away. Then he
                        took the two horses and led them into the stables, reappearing for the
                        purpose of locking the outer gate, as if we lived in an ancient castle. </p>
                      <!-- ... -->
                      <p>I do hate him — I am wretched — I have been a fool Beware of uttering one
                        breath of this to any one at the Grange. I shall expect you every day.
                        Don't disappoint me. </p>
                      <p> ISABELLA.</p>
                    </div3>
                  </div2>
                  <!-- ... -->
                </div1>
                <div1 type="volume" n="2" xml:id="d19">
                  <head>Volume 2</head>
                  <!-- ... -->
                  <div2 type="chapter" n="2.20" xml:id="d39">
                    <head>Chapter 2.20</head>
                    <pb n="326"/>
                    <!-- ... -->
                    <p>I lingered round them under that benign sky, watched the moths fluttering
                      among the heath and harebells, listened to the soft wind breathing through
                      the grass, and wondered how any one could ever imagine unquiet slumbers for
                      the sleepers in that quiet earth. </p>
                    <trailer> The End </trailer>
                  </div2>
                </div1>
              </body>
            </text>
          </egXML>
          <head type="legend">Adapted from a TEI P4 XML encoding of Emily Bronte’s novel <title level="m">Wuthering Heights</title> (<ref type="bibl" target="#bronte1847">Bronte 1847</ref>. TEI XML source available from <ptr target="http://xtf.lib.virginia.edu/xtf/view?docId=modern_english/uvaGenText/tei/BroWuth.xml;raw=1"/>.</head>
        </figure>
      </div>
            <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>
            <div xml:id="morganClarence" type="example">
        <head>Eric Lease Morgan: <title level="m">Clarence meets Alcuin</title>
                </head>
        <p>The following example is a fragment of the essay <title level="m">Clarence meets Alcuin</title> by Eric Lease Morgan, dealing with the application of <soCalled>expert systems</soCalled> on librarianship. This example features the concluding section to the prose essay. Notice how the author has used numbered divs to reflect the document structure, each with its own heading in a <gi>head</gi> element. Both subsections (properly encoded inside nesting <gi>div2</gi> elements) contain lists. The notes are listed in a numbered list, indicated by the <val>ordered</val> value for its <att>type</att> attribute, while the numbering has been retained as actual contents of the list items. The bibliographical list is encoded as a bulleted list, for which the actual rendering of the bullets is probably left to the application processing the text.</p>
        <figure xml:id="morgan-example">
          <egXML xmlns="http://www.tei-c.org/ns/Examples">
            <div1>
              <div2>
                <head>Notes </head>
                <list rend="ordered">
                  <item>1. This essay can also be found at
                    http://www.lib.ncsu.edu/staff/morgan/clarence-meets-alcuin.html, and you can
                    see the very beginnings of Ask Alcuin at
                    http://www.lib.ncsu.edu/staff/morgan/alcuin/. </item>
                  <item>2. Alex Goodall, The guide to expert systems (Oxford: Learned
                    Information, 1985), 11. </item>
                  <item>3. Donald A. Waterman, A guide to expert systems (Reading, MA:
                    Addison-Wesley, 1985), 11. </item>
                  <item>4. Ralph Alberico and Mary Micco, Expert systems for reference and
                    information retrieval (Westport, CT: Meckler, 1990) 86. </item>
                </list>
              </div2>
              <div2>
                <head>Suggested Readings </head>
                <list rend="bulleted">
                  <item>John V. Richardson, Knowledge-based systems for general reference work:
                    applications, problems, and progress (San Diego: Academic Press, 1995). This
                    relatively new book is the most scholarly of the of readings listed here. It
                    outlines definitions of reference work as well as knowlege-based (expert)
                    systems. It then suggests ways to incorporate the two disciplines into a
                    cohesive whole. Included are many references. If you are going to only read
                    one of the suggested readings, then this is the one to choose. </item>
                  <item>Rao Aluri and Donald E. Riggs, eds., Expert systems in libraries
                    (Norwood, NJ: Ablex Publsihing, 1990). This collection of essays describe
                    numerous expert systems for reference work. Contains many references and a
                    large selected bibliography. </item>
                  <item>Ralph Alberico and Mary Micco, Expert systems for reference and
                    information retrieval (Westport, CT: Meckler, 1990). This book
                    "attempts to address the development of expert systems for
                    reference and information retrieval." It contains recommended
                    readings and a large bibliography. </item>
                  <item>Christine Roysdon and Howard D. White, eds., Expert systems in reference
                    services (New York: Haworth Press, 1989). Another collection of essays
                    describing expert systems, but unfortunately some of the examples are not
                    really "expert systems." This is a good book for
                    understanding the principles of expert systems and methods for constructing
                    them. </item>
                </list>
              </div2>
            </div1>
          </egXML>
          <head type="legend">Adapted from a TEI P4 XML encoding of Eric Lease Morgan’s essay <title level="m">Clarence meets Alcuin</title> (<ref type="bibl" target="#morgan1997">Morgan 1997</ref>. TEI XML source file is not publicly available.</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>