From 86f8e73299e86b65affc1a71610dd061fa13bf5c Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Mon, 26 May 2014 19:49:44 +0200 Subject: Revamped external execute function into a external text formatter function * importing XML output of a called executable into the result document required special logic which clashed with a general execute function * general execute function may be implemented in the future ** support for external text formatters with XML output has a higher priority * current implementation enables calling a markdown parser and including the XHTML output into the document --- src/plattform_guard.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plattform_guard.cc') diff --git a/src/plattform_guard.cc b/src/plattform_guard.cc index ff4de08..d787adf 100644 --- a/src/plattform_guard.cc +++ b/src/plattform_guard.cc @@ -10,7 +10,7 @@ #include "function/read_xml_file.h" #include "function/read_directory.h" #include "function/transform.h" -#include "function/execute.h" +#include "function/external_text_formatter.h" namespace InputXSLT { @@ -49,8 +49,8 @@ PlattformGuard::PlattformGuard(const std::vector& path): xalan::XalanTransformer::installExternalFunctionGlobal( customNamespace, - xalan::XalanDOMString("execute"), - InputXSLT::FunctionExecute(&this->include_resolver_) + xalan::XalanDOMString("external-text-formatter"), + InputXSLT::FunctionExternalTextFormatter(&this->include_resolver_) ); } -- cgit v1.2.3