From bd39d49464dbd17eb3d4cdbb5784431e43e56fbf Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 29 Jun 2014 20:36:28 +0200 Subject: Switched FunctionWriteFile content parameter to xalan::XalanNode pointer * i.e. "write-file" now supports the serialization of given DOM structures ** this will be needed e.g. if FunctionTransform returns the result as a DOM tree instead of as a plain string ** enables the creation of multiple XML documents from within a single transformation *** i.e. backports the functionality provided in XSLT 2.0 by "xsl:result-document" to xalan's XSLT 1.0 * changed test cases accordingly --- test/write_file/reference.xml | 3 +-- test/write_file/transformation.xsl | 13 +++++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) (limited to 'test') diff --git a/test/write_file/reference.xml b/test/write_file/reference.xml index ba10cf5..e16d0b5 100644 --- a/test/write_file/reference.xml +++ b/test/write_file/reference.xml @@ -1,3 +1,2 @@ -Hello world! - +Hello world! diff --git a/test/write_file/transformation.xsl b/test/write_file/transformation.xsl index f65e62d..82afdfc 100644 --- a/test/write_file/transformation.xsl +++ b/test/write_file/transformation.xsl @@ -10,12 +10,17 @@ - - + + + Hello world! + + + + - - + + Error during file io -- cgit v1.2.3