ARCHIVED

Text Encoding and Analysis with TEI

TEI-basierte Textauszeichnung und Analyse

Institution: University of ViennaProgramme: Master's Programme in Digital HumanitiesFormat: University course2020–20237 Sessions90 Minuten

The course introduced scholarly text modelling with XML and the Text Encoding Initiative. Students developed a small digital-edition workflow from source analysis and schema validation to semantic annotation, XPath exploration and an XSLT-based web representation.

Instructor: Dr. Christopher Pollin

Contact: christopher.pollin@dhcraft.org

Material status

The course structure and the material links on this page are verified. Some secondary paths inside archived exercise and XML files still reflect an earlier repository structure and may no longer resolve.

Learning Outcomes

  • Model document structure and metadata with XML and TEI
  • Use the TEI Guidelines to select and document elements and attributes
  • Validate XML documents with RELAX NG schemas
  • Represent entities, controlled vocabularies and links to authority data
  • Query TEI documents with XPath
  • Transform TEI into an accessible web representation with XSLT

Prerequisites

  • Interest in scholarly editing and digital text
  • Prior XML knowledge is helpful but not required

Sessions

1
SESSION 1

Introduction to XML and TEI

Well-formed XML, document structure, the TEI model and basic text annotation.

Topics
  • XML syntax
  • TEI structure
  • teiHeader and text body
2
SESSION 2

Digital scholarly editions

Research questions, source selection and the relation between encoded data and an edition interface.

Topics
  • Edition concepts
  • Source criticism
  • Editorial workflow
3
SESSION 3

XML schemas and RELAX NG

Expressing document constraints and validating encoded research data.

Topics
  • Schema design
  • RELAX NG
  • Validation
4
SESSION 4

Advanced TEI annotation

Entities, indices, taxonomies, authority data and edition-specific modelling decisions.

Topics
  • Named entities
  • Taxonomies
  • Authority data
  • Correspondence modelling
5
SESSION 5

XPath

Navigating and analysing TEI documents with path expressions and predicates.

Topics
  • Location paths
  • Predicates
  • Functions and namespaces
6
SESSION 6

XSLT and web representation

Transforming TEI into structured HTML for a small digital-edition interface.

Topics
  • Templates
  • TEI namespaces
  • HTML output
  • Multiple views
7
SESSION 7

Tools and workflows

Editors, conversion tools and reproducible workflows for maintaining TEI data and derived outputs.

Topics
  • Oxygen XML Editor
  • TEI conversion
  • Workflow documentation

Assignments

Assignment 1

Project idea and basic annotation

Type: Individual project work

Due: Session 3

Deliverables:

  • Project idea and source selection
  • Well-formed XML with initial TEI annotation
Assignment 2

Advanced XML and TEI annotation

Type: Individual project work

Due: Session 5

Deliverables:

  • Extended TEI model
  • Schema validation
  • Documented modelling decisions
Assignment 3

Web representation with XSLT

Type: Final project

Due: Session 7

Deliverables:

  • XSLT transformation
  • HTML representation
  • Documented workflow

Resources

Essential Tools

Recommended Reading

Online Resources