diff options
Diffstat (limited to 'src/function/transform.cc')
-rw-r--r-- | src/function/transform.cc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/function/transform.cc b/src/function/transform.cc index 62b89ba..3ab6475 100644 --- a/src/function/transform.cc +++ b/src/function/transform.cc @@ -29,10 +29,9 @@ inline std::function<void(const ErrorCapacitor::error_cache&)> handleErrors( namespace InputXSLT { xercesc::DOMDocument* FunctionTransform::constructDocument( - const InputXSLT::FilesystemContext& fsContext, - xalan::XSLTInputSource transformationSource, - std::string targetPath, - xalan::XObjectPtr parameterObject + xalan::XSLTInputSource transformationSource, + boost::filesystem::path targetPath, + xalan::XObjectPtr parameterObject ) { xercesc::DOMDocument* const domDocument( xercesc::DOMImplementation::getImplementation()->createDocument( @@ -50,7 +49,7 @@ xercesc::DOMDocument* FunctionTransform::constructDocument( result.setAttribute( "target", - boost::filesystem::path(targetPath).filename().string() + targetPath.filename().string() ); if ( auto transformation = TransformationFacade::try_create( @@ -60,7 +59,7 @@ xercesc::DOMDocument* FunctionTransform::constructDocument( ) ) { try { transformation->generate( - fsContext.resolve(targetPath).string(), + targetPath.string(), parameterObject ); |