aboutsummaryrefslogtreecommitdiff
path: root/src/function/write_file.h
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-06-29 20:36:28 +0200
committerAdrian Kummerlaender2014-06-29 20:36:28 +0200
commitbd39d49464dbd17eb3d4cdbb5784431e43e56fbf (patch)
tree48013d44196637c6ac434c239be1b4950ba7056f /src/function/write_file.h
parent299d0f6fa3fbd1bfd8d1d6d452e9d055973d0e0e (diff)
downloadInputXSLT-bd39d49464dbd17eb3d4cdbb5784431e43e56fbf.tar
InputXSLT-bd39d49464dbd17eb3d4cdbb5784431e43e56fbf.tar.gz
InputXSLT-bd39d49464dbd17eb3d4cdbb5784431e43e56fbf.tar.bz2
InputXSLT-bd39d49464dbd17eb3d4cdbb5784431e43e56fbf.tar.lz
InputXSLT-bd39d49464dbd17eb3d4cdbb5784431e43e56fbf.tar.xz
InputXSLT-bd39d49464dbd17eb3d4cdbb5784431e43e56fbf.tar.zst
InputXSLT-bd39d49464dbd17eb3d4cdbb5784431e43e56fbf.zip
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
Diffstat (limited to 'src/function/write_file.h')
-rw-r--r--src/function/write_file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/function/write_file.h b/src/function/write_file.h
index 2260055..5fd9f3e 100644
--- a/src/function/write_file.h
+++ b/src/function/write_file.h
@@ -8,7 +8,7 @@ namespace InputXSLT {
class FunctionWriteFile : public FunctionBase<
FunctionWriteFile,
boost::filesystem::path,
- std::string
+ xalan::XalanNode*
> {
public:
using FunctionBase::FunctionBase;
@@ -18,7 +18,7 @@ class FunctionWriteFile : public FunctionBase<
xercesc::DOMDocument* constructDocument(
boost::filesystem::path,
- std::string
+ xalan::XalanNode* const
);
};