From 28ff130ba55a03f6448ebc7e63dad7efc411049f Mon Sep 17 00:00:00 2001
From: David Maus <maus@hab.de>
Date: Thu, 12 Oct 2017 08:21:21 +0200
Subject: [PATCH] =?UTF-8?q?Edition:=20TEI/@type=20entfernt,=20Tag-URI=20ve?=
 =?UTF-8?q?rk=C3=BCrzt?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 resources/xslt/edition/download.xsl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/resources/xslt/edition/download.xsl b/resources/xslt/edition/download.xsl
index 08f30dc8..0a1c3245 100644
--- a/resources/xslt/edition/download.xsl
+++ b/resources/xslt/edition/download.xsl
@@ -10,6 +10,8 @@
     </xsl:copy>
   </xsl:template>
 
+  <xsl:template match="@type[parent::tei:TEI]"/>
+
   <xsl:template match="@xml:base"/>
 
   <xsl:template match="@ref[starts-with(., 'register.xml')]">
@@ -21,7 +23,7 @@
       </xsl:when>
       <xsl:otherwise>
         <xsl:attribute name="ref">
-          <xsl:value-of select="concat('tag:selbstzeugnisse.hab.de,2017:edition/diarium/register#', substring-after(., '#'))"/>
+          <xsl:value-of select="concat('tag:selbstzeugnisse.hab.de,2017:edition/', substring-after(., '#'))"/>
         </xsl:attribute>
       </xsl:otherwise>
     </xsl:choose>
-- 
GitLab