aboutsummaryrefslogtreecommitdiff
path: root/src/function/transform.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/function/transform.cc')
-rw-r--r--src/function/transform.cc17
1 files changed, 5 insertions, 12 deletions
diff --git a/src/function/transform.cc b/src/function/transform.cc
index 844dee9..7e6207c 100644
--- a/src/function/transform.cc
+++ b/src/function/transform.cc
@@ -30,19 +30,12 @@ namespace InputXSLT {
xercesc::DOMDocument* FunctionTransform::constructDocument(
const InputXSLT::FilesystemContext& fsContext,
- const FunctionBase::parameter_tuple& parameters
+ std::string transformationPath,
+ std::string targetPath,
+ xalan::XObjectPtr parameterObject
) {
- const std::string transformationPath(
- fsContext.resolve(std::get<0>(parameters)).string()
- );
-
- const std::string targetPath(
- fsContext.resolve(std::get<1>(parameters)).string()
- );
-
- const xalan::XObjectPtr& parameterObject(
- std::get<2>(parameters)
- );
+ transformationPath = fsContext.resolve(transformationPath).string();
+ targetPath = fsContext.resolve(targetPath).string();
xercesc::DOMDocument* const domDocument(
xercesc::DOMImplementation::getImplementation()->createDocument(