diff --git a/plugins/regularisation/regularisation.xsl b/plugins/regularisation/regularisation.xsl new file mode 100644 index 0000000000000000000000000000000000000000..54d9251090500d051c3573dff231b5e4ee470700 --- /dev/null +++ b/plugins/regularisation/regularisation.xsl @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + For conditions of distribution and use, see the accompanying legal.txt file. +--> + +<xsl:stylesheet version="2.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:tei="http://www.tei-c.org/ns/1.0" + exclude-result-prefixes="tei xsl"> + + + <xsl:template match="//tei:choice"><xsl:apply-templates/></xsl:template> + + <xsl:template match="//tei:orig | //tei:reg"> + <span> + <xsl:attribute name="class"> + <xsl:value-of select="local-name(.)"/> + </xsl:attribute><xsl:apply-templates/> + </span> + </xsl:template> + +</xsl:stylesheet> \ No newline at end of file