#ifndef INPUTXSLT_SRC_SUPPORT_INCLUDE_ENTITY_RESOLVER_H_ #define INPUTXSLT_SRC_SUPPORT_INCLUDE_ENTITY_RESOLVER_H_ #include #include #include "boost/optional.hpp" #include #include #include "filesystem_context.h" namespace InputXSLT { class IncludeEntityResolver : public xercesc::EntityResolver { public: IncludeEntityResolver(const std::vector&); xercesc::InputSource* resolveEntity( const XMLCh* const, const XMLCh* const ); boost::filesystem::path resolve( const XMLCh* const) const; boost::optional resolve( const boost::filesystem::path&) const; private: const std::vector path_; }; } #endif // INPUTXSLT_SRC_SUPPORT_INCLUDE_ENTITY_RESOLVER_H_