aboutsummaryrefslogtreecommitdiff
path: root/test/transform/test.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/test.xsl')
-rw-r--r--test/transform/test.xsl12
1 files changed, 10 insertions, 2 deletions
diff --git a/test/transform/test.xsl b/test/transform/test.xsl
index 40134c4..677e80d 100644
--- a/test/transform/test.xsl
+++ b/test/transform/test.xsl
@@ -2,8 +2,9 @@
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:xalan="http://xml.apache.org/xalan"
xmlns:InputXSLT="function.inputxslt.application"
- exclude-result-prefixes="InputXSLT"
+ exclude-result-prefixes="InputXSLT xalan"
>
<xsl:output
@@ -13,10 +14,17 @@
indent="yes"
/>
+<xsl:param name="arguments"/>
+
<xsl:template match="/">
<test_case>
<transform_test>
- <xsl:value-of select="InputXSLT:read-file('transformation.xsl')"/>
+ <argument_value>
+ <xsl:value-of select="xalan:nodeset($arguments)/value"/>
+ </argument_value>
+ <transformation_content>
+ <xsl:value-of select="InputXSLT:read-file('transformation.xsl')"/>
+ </transformation_content>
</transform_test>
</test_case>
</xsl:template>