tei-xml

Installation
SKILL.md

TEI XML P5 Encoding for Historical Editions

TL;DR — Encode, analyze, and transform TEI P5 XML documents: build teiHeader metadata, mark up named entities with VIAF authority links, model critical apparatus variant readings, run XPath queries with lxml, extract entity frequency tables, and transform to HTML or plain text via XSLT/Saxon-HE.


When to Use

Use this Skill when you need to:

  • Create a TEI P5 digital edition of a historical text with scholarly apparatus
  • Mark up personal names, place names, and organization names with authority record links
  • Represent multiple manuscript witnesses using <app>, <lem>, and <rdg> elements
  • Run XPath queries to extract named entities, count occurrences, and build frequency tables
  • Transform TEI XML to HTML reading text or plain text for downstream NLP
Installs
9
GitHub Stars
38
First Seen
Mar 30, 2026