diff --git a/resources/xslt/edition/download.xsl b/resources/xslt/edition/download.xsl index 08f30dc8fc71229ed66192d3f034736ca51bef1c..0a1c3245291106ad4b2045165bf8fb2dc0d518cc 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>