From 7bd543e220c806177d805a8f4fbc13e951fe5788 Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Fri, 16 May 2014 22:25:39 +0200 Subject: Added XObjectPtr parameter to FunctionTransform * the given XObject is passed to the called transformation ** this was done to enable templates to pass information to each other ** this should support any type usable in a XPath context to be passed as an argument * expanded FunctionTransform test case accordingly --- src/support/stylesheet_parameter_guard.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/support/stylesheet_parameter_guard.h') diff --git a/src/support/stylesheet_parameter_guard.h b/src/support/stylesheet_parameter_guard.h index f0622ad..7fa425e 100644 --- a/src/support/stylesheet_parameter_guard.h +++ b/src/support/stylesheet_parameter_guard.h @@ -2,6 +2,7 @@ #define INPUTXSLT_SRC_SUPPORT_STYLESHEET_PARAMETER_GUARD_H_ #include +#include #include #include @@ -24,6 +25,7 @@ class StylesheetParameterGuard { void set(const map&); void set(const std::string&, const std::string&); + void set(const std::string&, const xalan::XObjectPtr&); private: xalan::XalanTransformer& transformer_; -- cgit v1.2.3