diff options
author | Adrian Kummerlaender | 2014-08-09 18:42:47 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2014-08-09 18:42:47 +0200 |
commit | 7f6611cded8c1591f1aa1a4c7d70505cb21e7967 (patch) | |
tree | 6be359d9f6b718c8ceea991f62fd12ef5c4c43c9 /src/function/external_text_formatter.h | |
parent | 97b17caeeb8512e2af332d7095fca4cad160a980 (diff) | |
download | InputXSLT-7f6611cded8c1591f1aa1a4c7d70505cb21e7967.tar InputXSLT-7f6611cded8c1591f1aa1a4c7d70505cb21e7967.tar.gz InputXSLT-7f6611cded8c1591f1aa1a4c7d70505cb21e7967.tar.bz2 InputXSLT-7f6611cded8c1591f1aa1a4c7d70505cb21e7967.tar.lz InputXSLT-7f6611cded8c1591f1aa1a4c7d70505cb21e7967.tar.xz InputXSLT-7f6611cded8c1591f1aa1a4c7d70505cb21e7967.tar.zst InputXSLT-7f6611cded8c1591f1aa1a4c7d70505cb21e7967.zip |
Changed FunctionExternalTextFormatter to execute formatter inside shell
* otherwise one has to pass the full path to the command
** additionally it is much easier to enable passing arguments to the external formatter this way
* modified external function parameter accordingly
* updated external text formatter test case
Diffstat (limited to 'src/function/external_text_formatter.h')
-rw-r--r-- | src/function/external_text_formatter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/function/external_text_formatter.h b/src/function/external_text_formatter.h index 27f2fc7..4788784 100644 --- a/src/function/external_text_formatter.h +++ b/src/function/external_text_formatter.h @@ -9,7 +9,7 @@ namespace InputXSLT { class FunctionExternalTextFormatter : public FunctionBase< FunctionExternalTextFormatter, - boost::filesystem::path, + std::string, std::string > { public: @@ -19,7 +19,7 @@ class FunctionExternalTextFormatter : public FunctionBase< friend FunctionBase; DomDocumentCache::document_ptr constructDocument( - boost::filesystem::path, + std::string, std::string ) const; |