Text Encoding Fundamentals and Their Application

DHSI Atlantic



Constance Crompton, University of British Columbia, Okanagan
Lee Zickel, Case Western Reserve University

Slides and Sample files

Click for the workshop slides here (pdf file)

Click here for sample files (this is a zip file. On a Mac, double clicking should be enough to extract the files. On a PC you may have to right click and select “extract” to unzip the files, as your computer will let you see the files, but won’t let you edit them until they have been extracted).


Monday, May 11

8:00-9:00 McCain 2017

9:00-12:00 McCain 2018
Introductions & Setup
What is TEI?
What is XML?
TEI’s Place in the Universe
Hands-on Tech-free Markup

12:00-1:30 Lunch break

XML Anatomy
Well-Formedness and Validity
How the TEI Imagines Documents
Generic Elements
Basic Encoding
Hands-on Practice

Tuesday, May 12

9:00-12:00 McCain 2018
A Whole TEI Document
Basic Encoding for Different Genres
File Structures and Paths
Hands-on Practice

12:00-1:30 Lunch break

Inter- and Intra-textuality
Linking Mechanisms
Contextual information and ’ographies
The TEI Guidelines
Hands-on Practice

Wednesday, May 13

9:00-12:00 McCain 2018
Empty Elements as Milestones
Empty Elements to Avoid Overlap
Facsimiles, Figures, and Images
TEI Namespace and Header

12:00-1:30 Lunch break

Manuscript Encoding
Case Studies
Hands-on Practice

Thursday, May 14

9:00-12:00 McCain 2018
Data Modeling
Schema Customization
Hands-on Practice

12:00-1:00 Lunch break

TEI Boilerplate
Hands-on Practice

4:00-5:00 Public Lecture “Under the Hood: Making Meaning in the Digital Humanities” McCain Ondaatje Auditorium

Friday, May 15

9:00-12:00 McCain 2018
Where to Go From Here?
Project Planning
Publishing Your TEI
TEI Courses
Resources and Events

12:00-1:30 Lunch break


Learn the Markup Language of the Text Encoding Initiative (TEI)

Digital Humanities Summer Institute, University of Victoria
Women Writers Project Encoding Workshops, Northeastern University
TEI by Example
TEI Guidelines
TEI-encoded Projects
TEI listserv

TEI-Encoded Projects

(This list is by no means exhaustive)


Edit your teibp.css or custom.css and then open your .xml files in either Safari, Firefox, or Internet Explorer to see its effect.

CSS Vocab
{ property : value ; }

Find the vocabulary for CSS properties (e.g., color) and values (e.g. orange) here.
Find the hex values for colours here.
Find out how construct complex selectors (e.g. person>persName which means “please style the persNames that are the child of person) here.

Publish Your TEI

TEI Archiving Publishing and Access Service (TAPAS)

We would like to thank Syd Bauman and Julia Flanders for making their TEI teaching material freely available online and allowing it to be used under a creative commons license.