From f7f07c0adb642e7a56fb3e5c09cadfc498d75612 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Oke=20M=C3=B6ller?= <moeller@hab.de>
Date: Wed, 22 Jan 2025 09:54:13 +0100
Subject: [PATCH] =?UTF-8?q?Transformation=20f=C3=BCr=20Vorbereitung=20der?=
 =?UTF-8?q?=20XML-Dateien?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../Ernst_und_Falk/EF_DR_HAB_LO4622_1778a.xml |  2 +-
 .../prepareTranscriptionsForPublication.xsl   | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletion(-)
 create mode 100644 Dramen/Ernst_und_Falk/scripts/prepareTranscriptionsForPublication.xsl

diff --git a/Dramen/Ernst_und_Falk/EF_DR_HAB_LO4622_1778a.xml b/Dramen/Ernst_und_Falk/EF_DR_HAB_LO4622_1778a.xml
index 186b9d7..31c568a 100644
--- a/Dramen/Ernst_und_Falk/EF_DR_HAB_LO4622_1778a.xml
+++ b/Dramen/Ernst_und_Falk/EF_DR_HAB_LO4622_1778a.xml
@@ -161,7 +161,7 @@
                 <pb facs="img:00006" n="4"/>
             </div>
             <div subtype="vorwort" type="preface">
-                <pb facs="img:00007" n="5"/>
+                <pb n="5" facs="img:00007" />
                 <lg>
                     <l rendition="#ind">Durlautigſter <rs key="ed_udm_swp_y1c"
                             type="person">Herzog</rs>,</l>
diff --git a/Dramen/Ernst_und_Falk/scripts/prepareTranscriptionsForPublication.xsl b/Dramen/Ernst_und_Falk/scripts/prepareTranscriptionsForPublication.xsl
new file mode 100644
index 0000000..205f994
--- /dev/null
+++ b/Dramen/Ernst_und_Falk/scripts/prepareTranscriptionsForPublication.xsl
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:xs="http://www.w3.org/2001/XMLSchema"
+    xmlns:math="http://www.w3.org/2005/xpath-functions/math"
+    xmlns:telota="http://www.telota.de" 
+    exclude-result-prefixes="xs math"
+    version="3.0">
+    
+    <!-- identity template -->
+    <xsl:template match="@*|node()">
+        <xsl:copy>
+            <xsl:apply-templates select="@*|node()"/>
+        </xsl:copy>
+    </xsl:template>
+    
+    <!-- explicit template to suppress the telota:doctype attribute -->
+    <xsl:template match="@telota:doctype"/>
+    
+</xsl:stylesheet>
\ No newline at end of file
-- 
GitLab