For this assignment you will need to work with the Cheese-Straws-Exercise directory we have posted in the DHClass-Hub. Do a git pull, locate the directory on your local computer, and study the files. You will find a photo of a small manuscript (a recipe for Cheese Straws) together with a short typed text file with information about the manuscript, its writer, and her community and cultural background.
Your goal is to create one TEI document to make a unified text out of the two files here. To begin, open a new TEI file in <oXygen/> by clicking on the top left icon that looks like a corner-folded piece of paper (or going to File → New) and typing TEI in the search box. In the results, look for the TEI P5 options and choose the first one: All. Look at the TEI file and notice its characteristic two-part structure, with the teiHeader
and text
elements that are the children of the root element TEI
. For this assignment we will be working in the <text>
portion of the document.
Before beginning to code, we need to do some research on the TEI, working with chapters in the TEI Guidelines. We especially recommend you study Chapter 3: Elements Available in All TEI Documents (especially section 3.5.3) and Chapter 4: Default Text Structure. Look for elements and attributes to use that will help you make an information-rich, coded edition (all in one TEI document) of the recipe and its accompanying material. You may want to work at first with paper and pen (or pencil) to sketch out a plan of what elements and attributes to use. Remember, we are concentrating on just the <text>
element of the TEI document for now. (We will work on the TEI Header in part 2 of this exercise.)
Here are a pair of sample TEI files to help give you an idea of how these are structured:
When you have made some decisions about how to code, go ahead and begin encoding, finding a way to represent the text of the recipe and the text (and/or information from it) from the accompanying document in the text
portion of the TEI document. <oXygen/> comes with the current, very extensive schema rules for the TEI P5 installed, so that when you opened the TEI document it came with its own schema lines. As you code, notice that <oXygen/> will fire errors when XML is not well-formed, as well as when TEI validity is broken. You may also notice, as you apply tags, that the schema offers you suggestions of attributes or attribute values, helping to inform you about what the TEI makes available given a particular parent element.
When you have found a way to represent the recipe and (at least some) of the accompanying information in the text
portion of the document, be sure to give your file a name that meets our homework file submission rules, and submit it in the appropriate place on Courseweb. Watch for quick instructor comments on this assignment (including generalized comments on the DHClass-Hub) so you are prepared to proceed with Part 2.