FrankensteinVariorum / fv-postCollation

a repository for post-processing finalized collation files to prepare the Variorum edition.
2 stars 0 forks source link

Chapter Cutting: How to proceed #25

Closed ebeshero closed 1 year ago

ebeshero commented 1 year ago

Problem

xsl:for-each-group cannot reliably cut our files into chapters, because chapter markers are set at two different levels. They are either:

Also we are trying to cut chapter files from source editions with deep TEI hierachies. We should simplify that.

Proposed Solution

has two parts:

  1. We simplify the edition files in P6-Pt1 by removing TEI headers and bodies and preparing only a single TEI header, text, and body for each edition file.

  2. We then work on planting chapter boundary <anchor/> elements in place as the first preceding::* element before either a <seg> containing a chapter marker, or a milestone child of <div type="collate">. We will set these new <anchor/> elements to be siblings of each other. They must be at the same hierarchical level across each of the five editions files in order for us to reliably produce chapter files.

ebeshero commented 1 year ago

Completed with 5e4fd2a

Attempt to fine-tune? Remove extra namespaces?