From 76601205c8b859bac8485fcd2c2abc52a72ed67b Mon Sep 17 00:00:00 2001 From: David Maus <maus@hab.de> Date: Mon, 16 Oct 2017 12:00:51 +0200 Subject: [PATCH] Schema in Download der Edition einbinden --- resources/xslt/edition/download.xsl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/resources/xslt/edition/download.xsl b/resources/xslt/edition/download.xsl index 0a1c3245..e2a0af9d 100644 --- a/resources/xslt/edition/download.xsl +++ b/resources/xslt/edition/download.xsl @@ -10,6 +10,15 @@ </xsl:copy> </xsl:template> + <xsl:template match="tei:TEI"> + <xsl:copy> + <xsl:attribute name="xsi:schemaLocation" namespace="http://www.w3.org/2001/XMLSchema-instance"> + <xsl:text>http://www.tei-c.org/ns/1.0 http://www.tei-c.org/Vault/P5/3.2.0/xml/tei/custom/schema/xsd/tei_all.xsd</xsl:text> + </xsl:attribute> + <xsl:apply-templates select="node() | @*"/> + </xsl:copy> + </xsl:template> + <xsl:template match="@type[parent::tei:TEI]"/> <xsl:template match="@xml:base"/> -- GitLab