Skip to content
Sarah Ketchley edited this page May 9, 2018 · 4 revisions

Tagging Instructions

  1. Go to the relevant Basecamp folder and download .txt file of the letter/document you are going to encode. Open in Sublime or BBEdit.

  2. ‘Save As’ .xml with same filename

  3. open in Sublime or BBEdit

  4. Codebook tagsets for structure and content are here:

Tags for Structural Markup

For TEI Header tags, see ‘Overview of Structure of TEI Document’ below.

TEI Tag & Definition

  • Page Put at the end of the page.
    example:
    <pb n="1">

  • Individual diary entry Each entry has the unique xml:id of EBAYYYYMMDD and @type=”entry”
    example: <div xml:id="EBA18891212" type="entry">

  • Paragraph Markup Individual paragraphs. The title is considered a paragraph. (Where a paragraph runs across pages, end it on page #a and open/continue it on page #b.) example: <p> </p>

  • Title The title generally consists of the date, perhaps date byline, location and perhaps mileage traveled (see measurement, below) example: <p><title><placeName ref="#Paris">Paris</placeName>. <date when="1889-12-01">December 1st. 1889</date>.</title></p>

Tags for Content/Contextual Markup

  • placeName An absolute or relative place name. We use this to tag most geographic names. Use for streets, towns, cities countries, rivers, oceans etc Find standardized name here: Getty Vocabularies example: <placeName ref="#Abingdon">Abingdon</placeName> example: <placeName ref="Nile_River">Nile</placeName>

  • persName For people. We tease out the distinction between real and fictional in our prosopography lists and entries for the Site Index. (see below). Note for @ref: include “” and #. The XML:ID is “#Lastname_Firstname” or “#Lastname_Firstname_Title” or “#Lastname_Title” So: “#Davis_Theodore” example: <persName ref="#Andrews_Emma">Mrs Emma B. Andrews</persName> <persName ref="#Buttles_Jeanette">Nettie</persName> <persName ref="#Weigall_Arthur">the Inspector</persName> <persName ref="#Doge_F">Doge Foscari</persName> His <persName ref="#Sawtell_Mrs">wife </persName>

  • orgName Use the term ‘organization’ for any named collection of people regarded as a single unit. Typical examples include institutions such as ‘Harvard College’ or ‘the BBC’ and businesses such as ‘Apple’ or ‘Google’ but also racial or ethnic groupings or political factions where these are regarded as forming a single agency such as ‘the Scythians’ or ‘the Militant Tendency’. We include family names/groups in this designation. example: the <orgName ref="Drovers">Drovers</orgName> (note that 'the' is outside the tags)

the <orgName ref="Valpys">Valpys</orgName>

<orgName ref="British_Museum">British Museum</orgName>

  • Dates        Used in titles, dates within text, and within letters. example: <date when="1821-10-31">October 31 <hi rend="superscript">st</hi> 1821.</date>

<date when="1822-10">October</date> [you can code just the date/year or just the year; use the same order format]

<date when="1717">1717</date>

<date when="1902-12-14">Third Sunday in Advent. Dec. 14.</date>

<date when="-0100">100 BC</date>

<date from="1301" to="1400">fourteenth century</date>

  • Name        Details the name of a vessel, ship, man-made building (eg hotel), monument, animal, event example: <name type="vessel" ref=”#Sethi”>Sethi</name>

<name type="hotel" ref=”#Shepheards_Hotel”>Shepheards</name>

<name type="animal" ref="#Toby_pet">Toby</name>

<name type="event" ref="#distinctid">name of an event</name>

<name type=“play” ref="#distinctid">name of play</name>

<name type=“book” ref="#distinctid">name of book</name>

  • Botany (Flora)
    Here's how to code the named plant and document them for the site index example: <rs type="plant" ref=“#daisy>daisy</rs>

  • Addresses (for letters) example <p><address rend="embossed">
 <addrLine>Telephone 4949 Mayfair</addrLine>
 </address></p>
 <p><address rend="embossed">
 <addrLine>52, Jermyn Street, S.W.</addrLine>
 </address></p>

  • Uncertainty and error example: <unclear>Theodore</unclear>

example: <sic>2. October</sic> (when date is obviously wrong, but not sure what it should be)

example: <persName ref="#Beato_Antonio"><choice><sic>Beats</sic><corr>Beato</corr></choice></persName>

  • Measurements For anything presented in measurements and quantities eg money. This takes several attributes, but in most cases what we really need is the @type attribute. 
We can add @unit, @quantity, and @commodity to this, but the @type attribute should be sufficient for our purposes. If we want to expand on this quantity information later, we can search for these tags and elaborate on them. example <measure type="currency">one hundred pounds</measure>

<measure type=“distance”>15 miles</measure>

  • Textual features example: <hi rend="underline">coli cystitis</hi> <hi rend="superscript">st</hi>
Clone this wiki locally