From 6b5da054693cd348f3c357dbf1c8cb1979fecf6a Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Sun, 1 Jun 2014 17:31:17 +0200 Subject: Simplified test case result variable definitions * variables containing the output of a external function can be defined using the "select" attribute ** tree-like definition is only needed when helper templates such as "transformer" are used ** queries on variables that are instantiated in this fashion need the "self::" prefix before base nodes * changed includes of the "testcase.xsl" base template to imports ** this signifies that the importing template is based on the imported template ** ... and this is exactly what we want to define --- test/default_params/transformation.xsl | 2 +- test/external_text_formatter/transformation.xsl | 2 +- test/read_directory/transformation.xsl | 10 ++++------ test/read_file/transformation.xsl | 10 ++++------ test/read_xml_file/transformation.xsl | 10 ++++------ test/transform/transformation.xsl | 2 +- 6 files changed, 15 insertions(+), 21 deletions(-) (limited to 'test') diff --git a/test/default_params/transformation.xsl b/test/default_params/transformation.xsl index 0ffaea0..54cf57e 100644 --- a/test/default_params/transformation.xsl +++ b/test/default_params/transformation.xsl @@ -6,7 +6,7 @@ exclude-result-prefixes="InputXSLT" > - + diff --git a/test/external_text_formatter/transformation.xsl b/test/external_text_formatter/transformation.xsl index a94f211..7be4866 100644 --- a/test/external_text_formatter/transformation.xsl +++ b/test/external_text_formatter/transformation.xsl @@ -8,7 +8,7 @@ exclude-result-prefixes="dyn xalan InputXSLT" > - + diff --git a/test/read_directory/transformation.xsl b/test/read_directory/transformation.xsl index f1446a2..5955c26 100644 --- a/test/read_directory/transformation.xsl +++ b/test/read_directory/transformation.xsl @@ -7,16 +7,14 @@ exclude-result-prefixes="InputXSLT xalan" > - + - - - + - - + + diff --git a/test/read_file/transformation.xsl b/test/read_file/transformation.xsl index 9610046..a968f35 100644 --- a/test/read_file/transformation.xsl +++ b/test/read_file/transformation.xsl @@ -7,16 +7,14 @@ exclude-result-prefixes="InputXSLT xalan" > - + - - - + - - + + Error during file io diff --git a/test/read_xml_file/transformation.xsl b/test/read_xml_file/transformation.xsl index f23273e..ae54099 100644 --- a/test/read_xml_file/transformation.xsl +++ b/test/read_xml_file/transformation.xsl @@ -7,16 +7,14 @@ exclude-result-prefixes="InputXSLT xalan" > - + - - - + - - + + diff --git a/test/transform/transformation.xsl b/test/transform/transformation.xsl index 412036b..6bc759d 100644 --- a/test/transform/transformation.xsl +++ b/test/transform/transformation.xsl @@ -8,7 +8,7 @@ exclude-result-prefixes="dyn xalan InputXSLT" > - + -- cgit v1.2.3