Sample Encoded Letter

This is a sample file of a minimally encoded letter.

Have questions?

Post questions in Forum on working with Letter genre

Review
Encoding Letters

Reference

Check out the Women Writer's Project resource on encoding letters in the TEI: http://www.wwp.northeastern.edu/research/publications/guide/html/letters_outline.html

Overview

The body of a letter in the TEI includes 4 parts:

  • <opener> : groups dateline,
    byline, salute (more details and examples can be reviewed here)
  • <p> : the primary text of the letter
  • <closer> : groups together
    salute and signed and dateline (more details and examples can be reviewed here)
  • <postscript> : a postscript where true

For a nice intro to encoding letters as a collection or embedded within other works, please see the WWP's resource on letters: http://www.wwp.northeastern.edu/research/publications/guide/html/text_letters.html. Each link will bring you to an overview with examples.

Vertical Tabs

Reader
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" type="application/xml"
	schematypens="http://purl.oclc.org/dsdl/schematron"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
  <teiHeader>
      <fileDesc>
         <titleStmt>
            <title>An Minimally Encoded Letter in the TEI</title>
            <author>
               <orgName>TAPAS Project</orgName>
            </author>
            <respStmt>
               <resp>Encoded by, </resp>
               <persName>Benjamin J. Doyle</persName>
            </respStmt>
         </titleStmt>
         <publicationStmt>
            <publisher>
               <orgName>the TEI Archiving, Publishing, and Access Service (TAPAS)</orgName>
            </publisher>
            <address>
               <addrLine>360 Huntington Avenue</addrLine>
               <addrLine>Northeastern University</addrLine>
               <addrLine>Boston, MA 02115</addrLine>
            </address>
            <date>2017-01-17</date>
            <availability>
               <p>This file is free to download, share, or repurpose for educational and project development purposes.</p>
            </availability>
         </publicationStmt>
         <sourceDesc>
            <p>Born digital</p>
         </sourceDesc>
         
      </fileDesc>
     <profileDesc>
        <particDesc>
           <!-- learn more about internal 
              and external ography data 
              http://tapasproject.org/tapas-learn/ographies -->
           <!-- orgography may 
              be stashed here -->
           <listOrg>
              <org xml:id="org_TAPAS">
                 <orgName>the TEI Archiving, Publishing, and Access Service (TAPAS)</orgName>
                 <note>A digital resource for the TEI community that supports longterm storage of their TEI data and project curation tools.</note>
              </org>
           </listOrg>
           <!-- personography may 
              be stashed here -->
           <listPerson>
              <person xml:id="pers_tapasuser">
                 <persName>TAPAS User</persName>
                 <note>A generic title for registered users of the TAPAS project site.</note>
              </person>
           </listPerson>
        </particDesc>
     </profileDesc>
  </teiHeader>
  <text>
      <body>
         <opener>
            <!-- groups dateline, 
               byline, salutation -->
            <dateline>
               <placeName ref="#place_boston-ma">Boston, MA. USA</placeName>
               <date when="2016-08-05">January 01, 2017</date>
            </dateline>
            <salute>Dear <persName ref="#pers_tapasuser">TAPAS User</persName>,</salute>
         </opener>
         <p>This is a letter to you, which we hope will be of some benefit should you be in search of a sample letter encoded in the TEI. We have based this letter off of the <orgName ref="#org_teic">Text Encoding Initiative Consortium</orgName> Guidelines. The Guidelines can be found <ref target="http://www.tei-c.org/Guidelines/">here</ref>. A detailed overview of encoded letter components can be found via the Women Writers Project <ref target="https://www.wwp.northeastern.edu/research/publications/guide/html/letters_outline.html">encoding guides</ref>.
         </p>
         <p>Toggle the "XML View" under Stylesheets above to view XML comments explaining the basic encoded letter structure.</p>
         <closer>
            <!-- groups together 
               salute and signed -->
            <salute>
               Sincerely,
            </salute>
            <signed>
               <orgName ref="#org_TAPAS">the TAPAS Project</orgName>
            </signed>
         </closer>
         <postscript>
            <label>P.S.</label>
            <p>Be sure to check out the TAPAS Learn guide: <ref target="http://tapasproject.org/tapas-learn/letters">"Letters"</ref> for an extended discussion of letters as an encoded document genre. If you have any questions about working with letters in the TEI not covered in our guides, <ref target="http://tapasproject.org/forums/letters">post to our forums!</ref></p>
         </postscript>
      </body>
     <back>
        <listPlace>
           <!-- learn more about internal and 
              external ography data 
              http://tapasproject.org/tapas-learn/ographies -->
              <place xml:id="place_boston-ma">
                 <placeName>Boston, MA</placeName>
                 <location>
                    <geo>42.3600825,-71.05888010000001</geo>
                    <country key="US">United States</country>
                 </location>
              </place>
        </listPlace>
     </back>
  </text>
</TEI>
An Minimally Encoded Letter in the TEI TAPAS Project Encoded by, Benjamin J. Doyle the TEI Archiving, Publishing, and Access Service (TAPAS)
360 Huntington Avenue Northeastern University Boston, MA 02115
2017-01-17

This file is free to download, share, or repurpose for educational and project development purposes.

Born digital

Boston, MA. USA January 01, 2017 Dear TAPAS User,

This is a letter to you, which we hope will be of some benefit should you be in search of a sample letter encoded in the TEI. We have based this letter off of the Text Encoding Initiative Consortium Guidelines. The Guidelines can be found here. A detailed overview of encoded letter components can be found via the Women Writers Project encoding guides.

Toggle the "XML View" under Stylesheets above to view XML comments explaining the basic encoded letter structure.

Sincerely, the TAPAS Project

Be sure to check out the TAPAS Learn guide: "Letters" for an extended discussion of letters as an encoded document genre. If you have any questions about working with letters in the TEI not covered in our guides, post to our forums!

Boston, MA

42.3600825,-71.05888010000001 United States

TAPAS User

A generic title for registered users of the TAPAS project site.

the TEI Archiving, Publishing, and Access Service (TAPAS)

A digital resource for the TEI community that supports longterm storage of their TEI data and project curation tools.

Toolbox

Themes:

An Minimally Encoded Letter in the TEI TAPAS Project Encoded by, Benjamin J. Doyle the TEI Archiving, Publishing, and Access Service (TAPAS)
360 Huntington Avenue Northeastern University Boston, MA 02115
2017-01-17

This file is free to download, share, or repurpose for educational and project development purposes.

Born digital

the TEI Archiving, Publishing, and Access Service (TAPAS) A digital resource for the TEI community that supports longterm storage of their TEI data and project curation tools. TAPAS User A generic title for registered users of the TAPAS project site.
Boston, MA. USA January 01, 2017 Dear TAPAS User,

This is a letter to you, which we hope will be of some benefit should you be in search of a sample letter encoded in the TEI. We have based this letter off of the Text Encoding Initiative Consortium Guidelines. The Guidelines can be found here. A detailed overview of encoded letter components can be found via the Women Writers Project encoding guides.

Toggle the "XML View" under Stylesheets above to view XML comments explaining the basic encoded letter structure.

Sincerely, the TAPAS Project

Be sure to check out the TAPAS Learn guide: "Letters" for an extended discussion of letters as an encoded document genre. If you have any questions about working with letters in the TEI not covered in our guides, post to our forums!

Boston, MA 42.3600825,-71.05888010000001 United States