From 283101c02a7e6a71f221fe731168e9b0096e3766 Mon Sep 17 00:00:00 2001
From: Adrian Kummerländer
Date: Wed, 21 May 2014 20:30:37 +0200
Subject: 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
---
test/transform/reference.xml | 2 --
test/transform/test.xsl | 2 +-
test/transform/transformation.xsl | 48 +++++++++++++++++++--------------------
3 files changed, 24 insertions(+), 28 deletions(-)
(limited to 'test/transform')
diff --git a/test/transform/reference.xml b/test/transform/reference.xml
index b98f978..5d45081 100644
--- a/test/transform/reference.xml
+++ b/test/transform/reference.xml
@@ -1,8 +1,6 @@
-
42
-
diff --git a/test/transform/test.xsl b/test/transform/test.xsl
index 9a1ea7a..7d4cac0 100644
--- a/test/transform/test.xsl
+++ b/test/transform/test.xsl
@@ -4,7 +4,7 @@
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 xalan"
+ exclude-result-prefixes="xalan InputXSLT"
>
-
+
-
+
+ InputXSLT:transform(
+ $transformation,
+ $target,
+ xalan:nodeset($parameters)
+ )
+
+
+
-
-
-
-
- test.xsl
- test_actual.xml
-
- 21
-
-
+
+
+ test.xsl
+ test_actual.xml
+
+ 21
+
+
-
-
-
+
--
cgit v1.2.3