<?xml version="1.0"?>
<!DOCTYPE TEI.2 SYSTEM "tei-oucs.dtd" [
 <!ENTITY sharp "">
 <!ENTITY mdash "&#8212;">
 <!ENTITY rehy "">
]>
<TEI.2>
  <teiHeader>
    <fileDesc>
      <titleStmt>
        <title>The TEI Lite Exercise file</title>
      </titleStmt>
      <publicationStmt>
        <p>Unpublished, as yet </p>
      </publicationStmt>
      <sourceDesc>
        <p>All my own invention </p>
      </sourceDesc>
    </fileDesc>
    <revisionDesc>
      <list>
        <item>
          <date>6 Jul 99</date>Recast in XML for S Rahtz XSL style sheet</item>
        <item>
          <date>17 Dec 96</date>First draft for R Lite's DSSSL style
          sheet</item>
      </list>
    </revisionDesc>
  </teiHeader>
  <text>
    <body>
      <div type="doc">
    <head>A test document: section 1</head>
    <p>This document exercises various features of the TEI Lite dtd. Nothing in
      it is mandatory, but very little of it is mendacious. </p>
    <p>This is a second paragraph, just to show that paragraphs are not all
      indented to the same extent.</p>
    <p>Let's start with various phrase level elements. </p>
    <div type="sect">
    <head>This should be 1.1: editorial tags</head>
    <p>You can use your imagination (or give up) when dealing with most of
      these... some suggestions are given as comments.</p>
    <p>The <gi>corr</gi> element marks <corr sic="boob">correction</corr>s; <!--
shd just put square brackets round element content -->The <gi>reg</gi> element
      marks <reg orig="regln">regularisation</reg>s;
<!-- maybe shd use different font --> <!-- both corr and reg should
have options to toggle display of ORIG/SIC attribute value/content -->
      The <gi>add</gi> element marks <add place="sup">an
      addition</add> and <!-- the PLACE attribute shd be taken note of -->
      the <gi>del</gi> element marks <del>deletion</del>. The
    <gi>gap</gi> element marks <gap reason="inkblot"/>something that's not there, <!--
shd give REASON in square brackets and maybe different font if supplied
--> while the <gi>unclear</gi> element marks <unclear reason="smudged">something
    that's hard to read</unclear>.  <!-- how
about printing it in a wobbly grayed out manner? -->
    </p>
    </div>
    <div type="sect">
    <head>This should be 1.2: highlighting tags</head>
    <p>The <gi>hi</gi> element is used for various forms of highlighting: e.g.
      <hi rend="bo">bold</hi>, <hi rend="it">italic</hi> and <hi rend="sc">small
      caps</hi>. You can do what you like when <hi>no rend value</hi> is supplied. 
    </p>
    <p>The <gi>emph</gi> element is used for linguistic emph<emph>asis</emph>.
        
   <!-- use italic at least -->
      This should not be confused with cases of
      <soCalled>highlighting</soCalled> (<gi>soCalled</gi>) nor with
      <mentioned>shouting</mentioned> (<gi>mentioned</gi>),
<!-- I prefer single quotes for socalled, italic for mentioned, term -->
      <term>transmogrification</term>, (a technical <gi>term</gi>), for which
      the <gi>gloss</gi> tag might be used to supply <gloss>a technical
      definition</gloss>).</p>
    </div>
    <div type="sect">
    <head>Should be 1.3: milestones and other empties</head>
    <p>The <gi>mileStone</gi> element can appear <milestone unit="foo"
      n="bar"/>anywhere a<milestone unit="bar" n="42" ed="XX"/>t all. </p>
    <p>The <gi>pb</gi> element can appear <pb n="302" ed="XX"/>anywhere too, as
      can the <gi>lb</gi> element <lb n="302" ed="XX"/> like that.
<!-- could display these thusly
   - - - - - - - - - [$unit $n]- - - - - - - -
   where $unit is 'page' for pb or value of unit attrib on milestone
   for lb you should break the line, and maybe do clever stuff like
   displaying the line number ($n) every 10 lines....
-->
    </p>
    <p>Now for some links! We will start by cross-referring to the next
      section.</p>
    <p>Here is a simple <ptr target="P1"/> <gi>ptr</gi> to it.</p>
    <p>Here is a simple 
      <ref target="P1">reference to it</ref>.</p>
    <p>By the way, a <gi>divgen</gi> is legal anywhere, but should appear only
      where a <gi>div</gi> would be legal.</p><divGen type="toc"/>
</div></div>
    <div id="P1">
    <head>Should be section 2: assorted chunks</head>
    <p>Various sorts of list are legal within paragraphs... 
      <list type="ordered"><!-- this should do numbering of  items -->
        <item>first item in ordered list</item>
        <item>second item in ordered list</item>
        <item>third item in ordered list</item>
      </list></p>
    <list>
<!-- list heads should be displayed differently from section heads :
    suggest italics in text size and centred -->
      <head>This untyped list has a heading</head>
      <item>first item </item>
      <item>second item </item>
      <item>third item </item>
    </list>
    <list type="gloss"><!-- these look ok -->
      <label>label1</label>
      <item>first item </item>
      <label>label2</label>
      <item>second item </item>
      <label>label3</label>
      <item>third item </item>
    </list>
    <p>The preceding pair of lists were between paragraphs.</p>
    <p>
      <list>
        <head>This untyped list has a heading and a nested glosslist </head>
        <item>first item </item>
        <item>
          <list type="gloss">
            <label>label1</label>
            <item>first item </item>
            <label>label2</label>
            <item>second item </item>
            <label>label3</label>
            <item>third item </item>
          </list></item>
        <item>third item </item>
      </list>  
</p>
    <p>There are also various sorts of note
<!-- how about acting on the place attribute? marginal notes would be
    sew kewl! 
     also, why are my notes being autonumbered 0.1, 0.2 etc? -->
      <note>The placement of this one is unspecified</note></p>
    <p>Although no values are currently defined for them, it would be useful to
      distinguish at least marginal notes, like these: both left 
      <note place="left">left marginal note</note>right 
      <note place="right">right marginal note</note>foot 
      <note place="foot">first foot note</note>
      <note place="foot">second foot note</note>
       and end:
      <note place="end">first end note</note>
      <note place="end">second end note</note>. </p>
    <p>And here's a little something I know you're going to enjoy: 
    <table>
    <head>Mortality figures from Defoe</head>
    <row role="data">
      <cell role="label">St. Leonard's, Shoreditch</cell>
      <cell>64</cell>
      <cell>84</cell>
      <cell>119</cell>
    </row>
    <row role="data">
      <cell role="label">St. Botolph's, Bishopsgate</cell>
      <cell>65</cell>
      <cell>105</cell>
      <cell>116</cell>
    </row>
    <row role="data">
      <cell role="label">St. Giles's, Cripplegate</cell>
      <cell>213</cell>
      <cell>421</cell>
      <cell>554</cell>
    </row>
    </table></p>
    <p>What is life without pictures? 
      <figure file="fezziPic">
        <head>Mr Fezziwig's Ball</head>
        <figDesc>A Cruikshank engraving showing Mr Fezziwig leading a group of
          revellers.</figDesc>
      </figure></p>
</div>
    <div type="literary">
    <head>Finally, some literary examples</head>
    <lg n="1" type="stanza">
      <l>Opinion governs all mankind,</l>
      <l rend="indent(2)">Like the blind leading of the blind:</l>
      <l>And like the world, men's jobbernoles</l>
      <l rend="indent(1)">Turn round upon their ears the poles,</l>
      <l>And what they're confidently told</l>
      <l>By no sense else can be control'd.</l>
    </lg>
    <p>And now for something dramatic... </p>
    <stage rend="it">Enter Boteswaine. </stage>
    <sp>
      <speaker rend="it">Botes.</speaker>
      <p>Downe with the top-Mast: &sharp;yare, lower, lower, bring her to Try
        with Maine-course. A plague &mdash; 
        <stage rend="it">A cry within. Enter Sebastian, Anthonio &amp;
          Gonzalo.</stage> vpon this howling: they are lowder then the weather, or our
        office: yet againe? What do you heere? Shal we giue ore and drowne, haue you a
        minde to sinke?</p>
    </sp>
    <sp>
      <speaker rend="it">Sebas.</speaker>
      <p>Poxe o'your throat, you bawling, blasphe&rehy;mous incharitable Dog. 
      </p>
    </sp>
    <sp>
      <speaker rend="it">Botes.</speaker>
      <p>Worke you then.</p>
    </sp>
    <sp>
      <speaker rend="it">Anth.</speaker>
      <p>Hang cur, hang, you whoreson insolent Noyse-maker, we are lesse afraid
        to be drownde, then thou art.</p>
    </sp>
    <sp>
      <speaker rend="it">Gonz.</speaker>
      <p>I'le warrant him for drowning, though the Ship were no stronger then a
        Nutt-shell, and as leaky as an vnstanched wench.</p>
    </sp>
    <sp>
      <speaker rend="it">Botes.</speaker>
      <p>Lay her &sharp;a hold, &sharp;a hold, set her two courses off to Sea
        againe, lay her off.</p>
    </sp>
    <stage rend="it">Enter Mariners wet.</stage>
    <sp>
      <speaker rend="it">Mari.</speaker>
      <p>All lost, to prayers, to prayers, all lost.</p>
    </sp>
    <sp>
      <speaker rend="it">Botes.</speaker>
      <p>What must our mouths be cold?</p>
    </sp>
    <sp>
      <speaker rend="it">Gonz.</speaker>
      <p>The King, and Prince, at prayers, let's assist them, for our case is
        as theirs.</p>
    </sp>
    <sp>
      <speaker rend="it">Sebas.</speaker>
      <p>I'am out of patience. </p>
    </sp>
    </div>
    </body>
  </text>
</TEI.2>
