aboutsummaryrefslogtreecommitdiff
path: root/src/platform_guard.cc
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-08-23 00:19:09 +0200
committerAdrian Kummerlaender2014-08-23 00:19:09 +0200
commit5a54b5b8150d8bf1ac5db3ac688479b3aca6486d (patch)
tree08fe4ce82a6f0da1837504afaf9c0d27affa5513 /src/platform_guard.cc
parent2c89112141530617b51af8c41211c2507ec8c738 (diff)
downloadInputXSLT-5a54b5b8150d8bf1ac5db3ac688479b3aca6486d.tar
InputXSLT-5a54b5b8150d8bf1ac5db3ac688479b3aca6486d.tar.gz
InputXSLT-5a54b5b8150d8bf1ac5db3ac688479b3aca6486d.tar.bz2
InputXSLT-5a54b5b8150d8bf1ac5db3ac688479b3aca6486d.tar.lz
InputXSLT-5a54b5b8150d8bf1ac5db3ac688479b3aca6486d.tar.xz
InputXSLT-5a54b5b8150d8bf1ac5db3ac688479b3aca6486d.tar.zst
InputXSLT-5a54b5b8150d8bf1ac5db3ac688479b3aca6486d.zip
Replaced FunctionTransform by making the target of FunctionGenerate optional
* if the target parameter is not provided FunctionGenerate now performs exactly the same functionality as FunctionTransform * added "boost::optional<boost::filesystem::path>" specialization to the XObjectValue class * modified test cases accordingly * modified README.md accordingly
Diffstat (limited to 'src/platform_guard.cc')
-rw-r--r--src/platform_guard.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/platform_guard.cc b/src/platform_guard.cc
index f50d976..1449678 100644
--- a/src/platform_guard.cc
+++ b/src/platform_guard.cc
@@ -9,7 +9,6 @@
#include "function/read_file.h"
#include "function/write_file.h"
#include "function/read_directory.h"
-#include "function/transform.h"
#include "function/generate.h"
#include "function/external_command.h"
@@ -44,12 +43,6 @@ PlatformGuard::PlatformGuard(const std::vector<std::string>& path):
xalan::XalanTransformer::installExternalFunctionGlobal(
customNamespace,
- xalan::XalanDOMString("transform"),
- InputXSLT::FunctionTransform(&this->include_resolver_)
- );
-
- xalan::XalanTransformer::installExternalFunctionGlobal(
- customNamespace,
xalan::XalanDOMString("generate"),
InputXSLT::FunctionGenerate(&this->include_resolver_)
);