aboutsummaryrefslogtreecommitdiff
path: root/test/transform
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-06-15 15:14:46 +0200
committerAdrian Kummerlaender2014-06-15 15:14:46 +0200
commit32c65970263c65022f5278b568c07b63c3d5d64b (patch)
tree2efa72b5bc2288daec5d8a5c7ec0e8f7fcaa1365 /test/transform
parent58d3e1b8d03a10594e13658b50545fd714c04f6d (diff)
downloadInputXSLT-32c65970263c65022f5278b568c07b63c3d5d64b.tar
InputXSLT-32c65970263c65022f5278b568c07b63c3d5d64b.tar.gz
InputXSLT-32c65970263c65022f5278b568c07b63c3d5d64b.tar.bz2
InputXSLT-32c65970263c65022f5278b568c07b63c3d5d64b.tar.lz
InputXSLT-32c65970263c65022f5278b568c07b63c3d5d64b.tar.xz
InputXSLT-32c65970263c65022f5278b568c07b63c3d5d64b.tar.zst
InputXSLT-32c65970263c65022f5278b568c07b63c3d5d64b.zip
Merged "read-xml-file" and "read-file" into "read-file"
* FunctionReadFile is now able to distinguish between XML files and plain text files ** it selects the appropriate course of action automatically ** reading the file as XML into the DOM or reading it as a string * the current selection criteria is the file extension ** I am thinking about trying to import every file into the DOM and using the result state of that action as selection criteria * Updated README.md and test cases accordingly
Diffstat (limited to 'test/transform')
-rw-r--r--test/transform/transformation.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/transform/transformation.xsl b/test/transform/transformation.xsl
index 6bc759d..0c6173d 100644
--- a/test/transform/transformation.xsl
+++ b/test/transform/transformation.xsl
@@ -40,7 +40,7 @@
<xsl:choose>
<xsl:when test="xalan:nodeset($result)/transformation/@result = 'success'">
<xsl:copy-of select="
- InputXSLT:read-xml-file('test_actual.xml')/test_case/transform_test/*
+ InputXSLT:read-file('test_actual.xml')/test_case/transform_test/*
"/>
</xsl:when>
<xsl:otherwise>