summaryrefslogtreecommitdiff
path: root/tests/unit/Web/UI/WebControls/data
diff options
context:
space:
mode:
authorknut <>2006-05-12 06:11:39 +0000
committerknut <>2006-05-12 06:11:39 +0000
commitd84327e69e858d369ea0c78f6106cfaa54994032 (patch)
treeefbbad450762b8d26bcae2a72b544ac4f6e027ad /tests/unit/Web/UI/WebControls/data
parent3257465eec899be0c090cf2ef54fdb3a58ab82f2 (diff)
Added unit tests for TXmlTransform control #99
Diffstat (limited to 'tests/unit/Web/UI/WebControls/data')
-rw-r--r--tests/unit/Web/UI/WebControls/data/hello.xml2
-rw-r--r--tests/unit/Web/UI/WebControls/data/hello.xsl5
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/unit/Web/UI/WebControls/data/hello.xml b/tests/unit/Web/UI/WebControls/data/hello.xml
new file mode 100644
index 00000000..9f8b12ee
--- /dev/null
+++ b/tests/unit/Web/UI/WebControls/data/hello.xml
@@ -0,0 +1,2 @@
+<?xml version="1.0"?>
+<greeting>Hello World!</greeting>
diff --git a/tests/unit/Web/UI/WebControls/data/hello.xsl b/tests/unit/Web/UI/WebControls/data/hello.xsl
new file mode 100644
index 00000000..f0664464
--- /dev/null
+++ b/tests/unit/Web/UI/WebControls/data/hello.xsl
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+<xsl:output method="xml" omit-xml-declaration="yes"/>
+<xsl:template match="/"><b><xsl:value-of select="greeting"/></b></xsl:template>
+</xsl:transform>