diff options
author | Adrian Kummerländer | 2014-05-21 20:30:37 +0200 |
---|---|---|
committer | Adrian Kummerländer | 2014-05-21 20:30:37 +0200 |
commit | 283101c02a7e6a71f221fe731168e9b0096e3766 (patch) | |
tree | 8dfe46ba47aaad2edc66bfef14e45ac5864a7fb0 /test/common | |
parent | 35334241ce4b76b1b1a66219ce938f27fdf39031 (diff) | |
download | InputXSLT-283101c02a7e6a71f221fe731168e9b0096e3766.tar InputXSLT-283101c02a7e6a71f221fe731168e9b0096e3766.tar.gz InputXSLT-283101c02a7e6a71f221fe731168e9b0096e3766.tar.bz2 InputXSLT-283101c02a7e6a71f221fe731168e9b0096e3766.tar.lz InputXSLT-283101c02a7e6a71f221fe731168e9b0096e3766.tar.xz InputXSLT-283101c02a7e6a71f221fe731168e9b0096e3766.tar.zst InputXSLT-283101c02a7e6a71f221fe731168e9b0096e3766.zip |
Added test case base template and improved transformer helper template
* test case base template contains the basic test case markup
** it was mostly created to include include-path resolution into the test cases
* improved transformer helper template by separating the external function call into its own variable
Diffstat (limited to 'test/common')
-rw-r--r-- | test/common/testcase.xsl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/common/testcase.xsl b/test/common/testcase.xsl new file mode 100644 index 0000000..70bfa3a --- /dev/null +++ b/test/common/testcase.xsl @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet + version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:InputXSLT="function.inputxslt.application" + exclude-result-prefixes="InputXSLT" +> + +<xsl:output + method="xml" + omit-xml-declaration="no" + encoding="UTF-8" + indent="yes" +/> + +<xsl:template match="/"> +<test_case> + <xsl:call-template name="implementation"/> +</test_case> +</xsl:template> + +</xsl:stylesheet> |