summaryrefslogtreecommitdiffstats
path: root/libxslt/tests/xmlspec/REC-xml-2e.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'libxslt/tests/xmlspec/REC-xml-2e.xsl')
-rw-r--r--libxslt/tests/xmlspec/REC-xml-2e.xsl31
1 files changed, 31 insertions, 0 deletions
diff --git a/libxslt/tests/xmlspec/REC-xml-2e.xsl b/libxslt/tests/xmlspec/REC-xml-2e.xsl
new file mode 100644
index 0000000..afe3fc1
--- /dev/null
+++ b/libxslt/tests/xmlspec/REC-xml-2e.xsl
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+
+<xsl:import href="diffspec.xsl"/>
+
+<xsl:template match="loc[@role='erratumref']">
+ <xsl:choose>
+ <xsl:when test="$show.diff.markup='0'">
+ <!-- nop -->
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-imports/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="loc[@role='erratumref']" mode="text">
+ <xsl:choose>
+ <xsl:when test="$show.diff.markup='0'">
+ <!-- nop -->
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-imports/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+
+</xsl:stylesheet>
+