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