From 266b408ee53b9bc7db2b1a5c92e62adfd2af6def Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Thu, 26 Jun 2014 20:26:32 +0200 Subject: Implemented basic external "write-file" function * accepts a path parameter and the content to be written * removed target parameter form FunctionTransform ** transformation result is now returned as a string *** nodeset return value is planned ** e.g. writing the result to the fs is optional and has to be achieved using FunctionWriteFile * changed "transform" test case accordingly * this marks a paradigm shift and is the continuation of the changes described in 741a70f ** InputXSLT now also implements a output function * added basic io error handling to FunctionReadFile --- test/transform/transformation.xsl | 56 +++++++++++++++++++++++++++++++++------ 1 file changed, 48 insertions(+), 8 deletions(-) (limited to 'test') diff --git a/test/transform/transformation.xsl b/test/transform/transformation.xsl index 1cd424b..99933ba 100644 --- a/test/transform/transformation.xsl +++ b/test/transform/transformation.xsl @@ -11,24 +11,64 @@ + + + + + + + + + + + + + + + + + + + + - - InputXSLT:transform( - string($transformation), - string($target), - xalan:nodeset($parameters) - ) + + + + + - + + + + + + + + + + - + test.xsl test_actual.xml -- cgit v1.2.3