summaryrefslogtreecommitdiff
path: root/tests/general/bug-223.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general/bug-223.xsl')
-rw-r--r--tests/general/bug-223.xsl17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/general/bug-223.xsl b/tests/general/bug-223.xsl
new file mode 100644
index 00000000..4154b6ae
--- /dev/null
+++ b/tests/general/bug-223.xsl
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:x="urn:math">
+
+ <xsl:import href="bug-223-imp.xsl"/>
+ <xsl:include href="bug-223-inc.xsl"/>
+
+ <xsl:output omit-xml-declaration="yes"/>
+
+ <xsl:template match="/">
+ <xsl:value-of select="x:pow(count(cd))"/>
+ <xsl:value-of select="' '"/>
+ <xsl:value-of select="x:sqrt(count(cd))"/>
+ </xsl:template>
+
+</xsl:stylesheet>