Skip to content

DPJade27/text-encoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TEI-to-HTML Text Encoding Project

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.

🧾 Features

  • 🧩 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)
  • 💄 CSS styling for clarity, accessibility, and typographic elegance

⚙️ How to Use

  1. Place your TEI-encoded XML file in the xml/ folder.
  2. 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
    
    
    

About

TEI-based text encoding and XSLT transformation for interactive digital editions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages