summaryrefslogtreecommitdiffstats
path: root/copy.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'copy.xsl')
-rw-r--r--copy.xsl30
1 files changed, 0 insertions, 30 deletions
diff --git a/copy.xsl b/copy.xsl
deleted file mode 100644
index 0e64463..0000000
--- a/copy.xsl
+++ /dev/null
@@ -1,30 +0,0 @@
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns="http://www.w3.org/1999/xhtml"
- version="1.0">
-
-<xsl:output method="xml" doctype-system="location.dtd"/>
-<xsl:template match="@*|node()">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
-</xsl:template>
-<xsl:template match="name">
- <xsl:choose>
- <xsl:when test="@xml:lang">
- <xsl:variable name="ctext" select="../name[1]"/>
- <xsl:variable name="thistext" select="."/>
- <xsl:if test="$ctext != $thistext">
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:if>
- </xsl:when>
- <xsl:otherwise>
- <xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
- </xsl:copy>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-</xsl:stylesheet>