Digital Humanities, University of Bern Digital Humanities, University of Bern DH Lab
  • Lab
  • Programme
  • Assignment
  • Toolbox
  • Student Workflows
  • About
  • Intro to DH ↗
  1. Programme
  2. Session 7
  • Lab
  • Programme
    • Session 1
    • Session 2
    • Session 3
    • Session 4
    • Session 5
    • Session 6
    • Session 7
    • Session 8
    • Session 9
    • Session 10
    • Session 11
    • Session 12
    • Session 13
    • Session 14
  • Assignment
  • Toolbox
  • Student Workflows
    • How to add your workflow here
  • About

  • Introduction to DH (companion course)

On this page

  • In this session
  • Setting up
  • Encoding, step by step
  • From encoding to publication
  • Exercise
  • Edit this page
  • Report an issue
  1. Programme
  2. Session 7

Session 7

Scholarly editing as a form of data publication

Author

Elena Spadini

Published

27 October 2026

Modified

2 September 2026

Spadini Taught by Elena Spadini.

In this session

TEI, hands-on. The Intro covers what a scholarly edition is; here you encode one.

Setting up

  • An XML editor: VSCodium with the XML extension, or Oxygen (the university has licences)
  • Validation against a schema, and why the editor complains before you do
  • The TEI Guidelines — how to navigate a document that large

Encoding, step by step

Working on a short source — bring your own if you have one:

  1. The skeleton. <TEI>, <teiHeader>, <text>, <body>
  2. The header. <fileDesc>, <sourceDesc>, <publicationStmt> — the edition’s metadata is part of the edition
  3. Structure. <div>, <p>, <lb/>, <pb/>
  4. Named entities. <persName>, <placeName>, <orgName>, <date> — and @ref pointing to an authority file, which is where this connects back to Sessions 5 and 6
  5. Editorial intervention. <choice>, <orig>/<reg>, <abbr>/<expan>, <sic>/<corr>
  6. The document itself. <del>, <add>, <unclear>, <gap> — encoding what you cannot read is as important as encoding what you can

From encoding to publication

The reason this session sits in the Lab and not only in the Intro:

  • XML in, HTML out: transformation with XSLT, or with a publication framework
  • TEI Publisher, edition Visualization Technology, and static approaches
  • Where the images come from: IIIF, from last week’s session
  • Putting the encoded text in a repository, and what a citable edition needs

Exercise

Encode one page of a source, validate it, transform it to HTML, and publish it. Then hand your file to a neighbour and have them tell you what your encoding claims that you did not intend to claim.

TipIn parallel in the Intro

Data modelling: editions, and what a scholarly digital edition is

Back to top
Session 6
Session 8
  • Edit this page
  • Report an issue