Text only | Skip links
Skip links||IT Services, University of Oxford

1. Introduction

From your desktop, open SleepyHollow.xml in oXygen and SHimage.jpg in the Windows Picture Viewer (it should open in this program automatically).

We have three short exercises. The first we’ll do together, to practice opening the files and entering elements and attributes. The other ones you will do on your own.

2. Manuscript markup (do together)

Take a look at SHimage.jpg. This is an autograph of the first page of Sleepy Hollow, with corrections in Washington Irving’s hand.

In reference to this image, we’ll edit SleepyHollow.xml to include the additions and deletions Irving noted in his manuscript.

In oXygen:
  1. Place the cursor where you intend to insert the new element. Press ctrl-e and begin typing the name of the element. Alternatively, use the drop-down menu and select the element from the list.
  2. Press return to insert the element.
  3. The cursor will appear between the opening and closing tags. Once the tag is there, type in the content.

For the additions (<add>) we’ll include an attribute:

  1. Place the cursor in the start tag before the closing (>). Press the spacebar and a list of attributes will appear.
  2. Select the @place attribute and put in the value “supralinear”
If you’d like, you can add a @type attribute to the <del> to describe how the deletion is indicated.

3. TEI Header

We’ll add some additional elements to the existing header.

  1. To <titleStmt>, add an <editor> element with your name as content.
  2. To <publicationStmt>, add <publisher>, <pubPlace> and <date> with the content below:
    Publisher:
    TEI Workshop Publication
    Place:
    College Park, Maryland
    Date:
    October 31, 2007
  3. To <sourceDesc>, add <bibl> with the content:
    "The Legend of Sleepy Hollow", published in The Works of Washington Irving (New York, Putnam, 1861)

4. Person and Place Names

Look for <listPerson> and <listPlace> in the <sourceDesc>. These list sample information about people and places mentioned in the text. <listPerson> can contain a series of <person> elements, while <listPlace> can contain a series of <place> elements. Each of these is assigned a unique @xml:id attribute. These can be pointed to from the body of the text – look in our text for a sample <persName> and <placeName>, which point to the header.

For this exercise, add a few more <persName> and <placeName> elements in the text, create corresponding <person> and <place> names in the header, and link them together, using the samples as a guide.



Dot Porter. Date: 2007-10-31
Copyright University of Oxford