40 #ifndef _xsltwrapp_stylesheet_h_
41 #define _xsltwrapp_stylesheet_h_
46 #include "xmlwrapp/export.h"
67 typedef std::map<std::string, std::string>
param_type;
118 XMLWRAPP_DEPRECATED(
"use the form that takes error_handler argument")
119 bool apply(const xml::document& doc, xml::document& result);
134 XMLWRAPP_DEPRECATED("use the form that takes error_handler argument")
135 bool apply(const xml::document& doc, xml::document& result, const
param_type& with_params);
148 bool apply(const xml::document& doc,
149 xml::document& result,
150 xml::error_handler& on_error);
164 bool apply(const xml::document& doc,
165 xml::document& result,
167 xml::error_handler& on_error);
183 xml::document& apply(const xml::document& doc,
201 xml::document& apply(const xml::document& doc,
203 xml::error_handler& on_error = xml::throw_on_error);
219 XMLWRAPP_DEPRECATED("use apply() variants that take error_handler argument")
220 const std::
string& get_error_message() const;
223 void init(xml::document& doc, xml::error_handler& on_error);
230 stylesheet& operator=(const stylesheet&);
235 #endif // _xsltwrapp_stylesheet_h_