diff options
author | Adrian Kummerländer | 2014-05-22 19:58:15 +0200 |
---|---|---|
committer | Adrian Kummerländer | 2014-05-22 19:58:15 +0200 |
commit | 4d0569669e01434b3bb9f689cd176f590344bea8 (patch) | |
tree | 131ea5f48f34bafd01ffa133971739f68e551556 /src/function/transform.h | |
parent | bbe16940e7a6f97128e99ad7642b964e48ecde2e (diff) | |
download | InputXSLT-4d0569669e01434b3bb9f689cd176f590344bea8.tar InputXSLT-4d0569669e01434b3bb9f689cd176f590344bea8.tar.gz InputXSLT-4d0569669e01434b3bb9f689cd176f590344bea8.tar.bz2 InputXSLT-4d0569669e01434b3bb9f689cd176f590344bea8.tar.lz InputXSLT-4d0569669e01434b3bb9f689cd176f590344bea8.tar.xz InputXSLT-4d0569669e01434b3bb9f689cd176f590344bea8.tar.zst InputXSLT-4d0569669e01434b3bb9f689cd176f590344bea8.zip |
Added include path resolution to external file access functions
* if a given file can not be located relative to the transformation's location both "read-file" and "read-xml-file" will now try to resolve the path using the IncludeEntityResolver
* all external functions based on the FunctionBase template are now provided with a pointer to a IncludeEntityResolver instance
* it is determined by the external function implementation whether include path resolution will be used
Diffstat (limited to 'src/function/transform.h')
-rw-r--r-- | src/function/transform.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/function/transform.h b/src/function/transform.h index 94fae53..810738e 100644 --- a/src/function/transform.h +++ b/src/function/transform.h @@ -3,8 +3,6 @@ #include "base.h" -#include "support/include_entity_resolver.h" - namespace InputXSLT { class FunctionTransform : public FunctionBase< @@ -14,7 +12,7 @@ class FunctionTransform : public FunctionBase< xalan::XObjectPtr > { public: - FunctionTransform(IncludeEntityResolver*); + using FunctionBase::FunctionBase; protected: friend FunctionBase; @@ -24,9 +22,6 @@ class FunctionTransform : public FunctionBase< const FunctionBase::parameter_tuple& ); - private: - IncludeEntityResolver* const include_resolver_; - }; } |