diff options
author | Adrian Kummerländer | 2014-05-28 22:09:50 +0200 |
---|---|---|
committer | Adrian Kummerländer | 2014-05-28 22:09:50 +0200 |
commit | 52b60c1a8c23f11ab18fad06e0957490c7436e0a (patch) | |
tree | 300c1ccd387a2008ffab90e9b856f219528cb232 /src/function | |
parent | 5859cb6af4a5136a96971c47e41e6195007ef944 (diff) | |
download | InputXSLT-52b60c1a8c23f11ab18fad06e0957490c7436e0a.tar InputXSLT-52b60c1a8c23f11ab18fad06e0957490c7436e0a.tar.gz InputXSLT-52b60c1a8c23f11ab18fad06e0957490c7436e0a.tar.bz2 InputXSLT-52b60c1a8c23f11ab18fad06e0957490c7436e0a.tar.lz InputXSLT-52b60c1a8c23f11ab18fad06e0957490c7436e0a.tar.xz InputXSLT-52b60c1a8c23f11ab18fad06e0957490c7436e0a.tar.zst InputXSLT-52b60c1a8c23f11ab18fad06e0957490c7436e0a.zip |
Moved input trimming into XObjectValue namespace
* std::string specialization of "get" template method
* replaces FunctionTransform local input trimming implemented in 5859cb6
Diffstat (limited to 'src/function')
-rw-r--r-- | src/function/transform.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/function/transform.cc b/src/function/transform.cc index 06e4c19..fd28b34 100644 --- a/src/function/transform.cc +++ b/src/function/transform.cc @@ -4,8 +4,6 @@ #include <xercesc/dom/DOMImplementation.hpp> #include <xercesc/dom/DOMElement.hpp> -#include <boost/algorithm/string.hpp> - #include "transformation_facade.h" #include "support/xerces_string_guard.h" #include "support/dom/result_node_facade.h" @@ -16,13 +14,13 @@ xercesc::DOMDocument* FunctionTransform::constructDocument( const InputXSLT::FilesystemContext& fsContext, const FunctionBase::parameter_tuple& parameters ) { - const std::string transformationPath(boost::trim_copy( + const std::string transformationPath( fsContext.resolve(std::get<0>(parameters)).string() - )); + ); - const std::string targetPath(boost::trim_copy( + const std::string targetPath( fsContext.resolve(std::get<1>(parameters)).string() - )); + ); const xalan::XObjectPtr& parameterObject( std::get<2>(parameters) |