diff options
author | Adrian Kummerländer | 2014-05-16 22:25:39 +0200 |
---|---|---|
committer | Adrian Kummerländer | 2014-05-16 22:25:39 +0200 |
commit | 7bd543e220c806177d805a8f4fbc13e951fe5788 (patch) | |
tree | 0fe8746d3ae922340a8fed56db7e112cd63dc811 /src/support/stylesheet_parameter_guard.h | |
parent | ec6abad74348e9b577e1dd63b41d65263bb0334a (diff) | |
download | InputXSLT-7bd543e220c806177d805a8f4fbc13e951fe5788.tar InputXSLT-7bd543e220c806177d805a8f4fbc13e951fe5788.tar.gz InputXSLT-7bd543e220c806177d805a8f4fbc13e951fe5788.tar.bz2 InputXSLT-7bd543e220c806177d805a8f4fbc13e951fe5788.tar.lz InputXSLT-7bd543e220c806177d805a8f4fbc13e951fe5788.tar.xz InputXSLT-7bd543e220c806177d805a8f4fbc13e951fe5788.tar.zst InputXSLT-7bd543e220c806177d805a8f4fbc13e951fe5788.zip |
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
Diffstat (limited to 'src/support/stylesheet_parameter_guard.h')
-rw-r--r-- | src/support/stylesheet_parameter_guard.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <xalanc/XalanTransformer/XalanTransformer.hpp> +#include <xalanc/XPath/XObject.hpp> #include <string> #include <unordered_map> @@ -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_; |