This repository contains an experimental workflow for encoding literary and cultural texts using TEI XML, and transforming them into interactive HTML visualizations via XSLT and CSS.
The goal is to create readable, interactive editions that expose structural and interpretive layers of the text (e.g., bibliographic references, dialogues, places, people) in a user-friendly interface.
- 🧩 TEI-compliant XML with semantic and structural markup
- 🔁 XSLT transformation to generate styled HTML
- 🎛️ Dynamic UI buttons to toggle:
- Dialogues (
<seg>) - Bibliographic titles (
<title level="m" rend="italic">) - Named entities (places, people, organizations)
- Dialogues (
- 💄 CSS styling for clarity, accessibility, and typographic elegance
- Place your TEI-encoded XML file in the
xml/folder. - Run the XSLT transformation using a processor like Saxon:
java -jar saxon.jar -s:xml/yourfile.xml -xsl:xslt/transform.xsl -o:html/output.html