<?xml version="1.0"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
  <teiHeader>
    <fileDesc>
      <titleStmt>
        <title>A TEI P5 Sample File</title>
      </titleStmt>
      <publicationStmt>
        <p>Published as a TEI sample in &lt;oXygen/></p>
      </publicationStmt>
      <sourceDesc>
                <p>Derived from a TEI exercise by Lou Burnard and Sebastian Rahtz. Further modified by Dan Caprioara</p>
      </sourceDesc>
    </fileDesc>
    <revisionDesc>
      <list>
        <item>
          <date>5 February 2002</date>first attempt</item>
        <item>
          <date>24 October 2007</date>modified by Dan</item>
      </list>
    </revisionDesc>
  </teiHeader>
  <text>
    <front>
      <div type="preface">
        <head>PREFACE</head>
        <p>
          I have endeavoured in this
          <emph>Ghostly</emph>
          little book, to raise the
          <emph>Ghost</emph>
                    of an xml:idea, which shall not put my readers out of humour with themselves, with each other, with
                    the season, or with me. May it haunt their houses pleasantly, and no one wish to lay it.
        </p>
        <signed>
          Their faithful Friend and Servant, C.D.
          <date>December, 1843.</date>
        </signed>
      </div>
    </front>
    <body>
      <div>
        <head>Something Literary</head>
        <div>
          <head>Literary Example</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>
        </div>
      </div>
      <div>
        <head>Markup examples</head>
        <div>
          <head>Some simple markup</head>
          <p>The
            <gi>hi</gi>
            element is used for various forms of highlighting: e.g.
            <hi rend="bold">bold</hi>,
            <hi rend="it">italic</hi>
            and
            <hi rend="sc">small caps</hi>.</p>
          <p>The
            <gi>emph</gi>
            element is used for linguistic emph<emph>asis</emph>.
            <soCalled>highlighting</soCalled>
            (<gi>soCalled</gi>) nor with
            <mentioned>shouting</mentioned>
            (<gi>mentioned</gi>),
            <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>
          <p>Now for some links! We will start by cross-referring to the next section.</p>
          <p>Here is a simple
            <gi>ptr</gi>
            to it:
            <ptr target="#P1"/>. Here is a simple
            <gi>ref</gi>, a
            <ref target="#P1">reference to it</ref>.</p>
          <p>An
            <ref target="http://www.bbc.co.uk">external link</ref>
            as ref and as ptr:
            <ptr target="http://www.bbc.co.uk"/>.</p>
        </div>
      </div>
      <div>
        <head>Tables</head>
        <p>Tables may have cells that span multiple columns and rows.</p>
        <table rows="3" cols="3">
          <head>Pictures from Fagaras mountains</head>
          <row role="label">
            <cell>Image</cell>
            <cell>Description</cell>
            <cell>Camera direction</cell>
          </row>
          <row>
            <cell rows="2">SVG, JPEG, GIF or PNG format</cell>
          </row>
          <row>
            <cell cols="2" role="label">
              <emph>All pictures were taken on Jun 27, 2007
              </emph>
            </cell>
          </row>
          <row>
            <cell>
              <graphic url="nature1.jpg"/>
            </cell>
            <cell>Mountain flowers.
            </cell>
            <cell>north</cell>
          </row>
          <row>
            <cell>
              <graphic url="nature2.jpg"/>
            </cell>
            <cell>Sunset over a secondary ridge.</cell>
            <cell>north-east</cell>
          </row>
          <row>
            <cell>
              <graphic url="nature3.jpg"/>
            </cell>
            <cell>Glacier lake at 2100m altitude.</cell>
            <cell>east</cell>
                    </row>
                </table>
                <table rows="5" cols="5">
                    <head>
                        <hi rend="bold">TEI Span Sample</hi>
                    </head>
                    <row role="label">
                        <cell cols="2">Spans
                            <hi rend="bold">Horizontally</hi>
                        </cell>
                        <cell>Header 3</cell>
                        <cell cols="2">Spans
                            <hi rend="bold">Horizontally</hi>
                        </cell>
                    </row>
                    <row>
                        <cell rows="4">Spans
                            <hi rend="bold">Vertically</hi>
                        </cell>
                        <cell>a</cell>
                        <cell>b</cell>
                        <cell>c</cell>
                        <cell>d</cell>
                    </row>
                    <row>
                        <cell>e</cell>
                        <cell cols="2" rows="2">Spans
                            <hi rend="bold">both</hi>
                        </cell>
                        <cell>f</cell>
                    </row>
                    <row>
                        <cell>g</cell>
                        <cell>g</cell>
                    </row>
                    <row>
                        <cell>i</cell>
                        <cell>j</cell>
                        <cell cols="2">Spans
                            <hi rend="bold">Horizontally</hi>
                        </cell>
                    </row>
                    <row>
                        <cell>k</cell>
                        <cell>l</cell>
                        <cell>m</cell>
                        <cell>n</cell>
                        <cell>o</cell>
                    </row>
                </table>
      </div>
      <div xml:id="P1">
        <head>Some lists</head>
        <p>Various sorts of list are legal within paragraphs...
          <list type="ordered">
            <item>Dogs</item>
            <item>Zebras</item>
            <item>Birds</item>
            <item>Cats</item>
          </list>
        </p>
        <list type="gloss">
          <label>100</label>
          <item>first item
          </item>
          <label>200</label>
          <item>second item
          </item>
          <label>300</label>
          <item>third item
          </item>
        </list>
        <p>The preceding lists was between paragraphs.</p>
        <p>
          <list type="unordered">
            <head>This untyped list has a heading and a nested glosslist
            </head>
            <item>first item
            </item>
            <item>
              <list type="gloss">
                <label>25</label>
                <item>first item
                </item>
                <label>35</label>
                <item>second item
                </item>
                <label>45</label>
                <item>third item
                </item>
              </list>
            </item>
            <item>third item
            </item>
          </list>
        </p>
      </div>
      <div>
        <head>Some more literary examples</head>
        <p>And now for something dramatic...
        </p>
        <sp>
          <speaker rend="it">Roderigo</speaker>
          <p>Where shall we meet i' the morning?</p>
        </sp>
        <sp>
          <speaker rend="it">Iago</speaker>
          <p>At my lodging.</p>
        </sp>
        <sp>
          <speaker rend="it">Roderigo</speaker>
          <p>I'll be with thee betimes.</p>
        </sp>
        <sp>
          <speaker rend="it">Iago</speaker>
          <p>Go to; farewell. Do you hear, Roderigo?</p>
        </sp>
        <sp>
          <speaker rend="it">Roderigo</speaker>
          <p>What say you?</p>
        </sp>
        <sp>
          <speaker rend="it">Iago</speaker>
          <p>No more of drowning, do you hear?</p>
        </sp>
        <sp>
          <speaker rend="it">Roderigo</speaker>
          <p>I am changed: I'll go sell all my land.</p>
        </sp>
      </div>
    </body>
  </text>
</TEI>