Skip to content

[ftr] - Add edirom.mei2metsmods.xsl: convert Edirom source MEI to METS/MODS - #1

Open
hizclick wants to merge 1 commit into
devfrom
7-ftr-add-ediromMei2metsmods-stylesheet
Open

[ftr] - Add edirom.mei2metsmods.xsl: convert Edirom source MEI to METS/MODS#1
hizclick wants to merge 1 commit into
devfrom
7-ftr-add-ediromMei2metsmods-stylesheet

Conversation

@hizclick

@hizclick hizclick commented Sep 7, 2026

Copy link
Copy Markdown

Title: Add edirom.mei2metsmods.xsl: convert Edirom source MEI to METS/MODS

Description

Adds a new stylesheet, scripts/edirom.mei2metsmods.xsl, converting an Edirom source MEI file (facsimile <surface>/<zone> data linked to notation via <measure facs="#zone">) into a METS/MODS document — see Edirom/MEIGarage#193 for the full feature request.

This is a required dependency for Edirom/mei-xsl-converter#8, which wires a new edirom-mei-source → mets-mods conversion to this exact file path (data-configuration/scripts/edirom.mei2metsmods.xsl), matching how the existing COMPAREFILES conversion already depends on scripts/compare.files.xsl in this repo.

Testing

Validated standalone with Saxon-HE 12.5 against a real Edirom source MEI file (from Edirom/EditionExample) — produces a well-formed METS document with correct dmdSec/fileSec/structMap sections. Also validated end-to-end through MEIXSLConverter.convert() in mei-xsl-converter (see Edirom/mei-xsl-converter#8).

Refs Edirom/MEIGarage#193

@hizclick
hizclick requested a review from anneferger September 7, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant